parameters: (self)
docstring: @brief Get the existing UDTs in the current version
function: def _get_existing_udt(self):
          """
          @brief Get the existing UDTs in the current version
          """
          rows = self._run_sql("""
              SELECT
                  typname
              FROM
                  pg_type AS t,
                  pg_namespace AS nsp
              WHERE
                  t.typnamespace = nsp.oid AND
                  nsp.nspname = '{schema}'
              """.format(schema=self._schema))
          self._existing_udt = [row['typname'] for row in rows]
function_tokens: def _get_existing_udt ( self ) : rows = self . _run_sql ( """
              SELECT
                  typname
              FROM
                  pg_type AS t,
                  pg_namespace AS nsp
              WHERE
                  t.typnamespace = nsp.oid AND
                  nsp.nspname = '{schema}'
              """ . format ( schema = self . _schema ) ) self . _existing_udt = [ row [ 'typname' ] for row in rows ]