SELECT n.nspname AS "Schema",
       c.conname AS "Name",
       pg_catalog.pg_encoding_to_char(c.conforencoding) AS "Source",
       pg_catalog.pg_encoding_to_char(c.contoencoding) AS "Destination",
       CASE WHEN c.condefault THEN pg_catalog.pg_gettext('yes')
       ELSE pg_catalog.pg_gettext('no') END AS "Default?"
  FROM pg_catalog.pg_conversion c,
       pg_catalog.pg_namespace n,
       (SELECT $1 AS cmd) AS cmd
 WHERE n.oid = c.connamespace
   AND pg_catalog.pg_conversion_is_visible(c.oid)
 ORDER BY 1, 2