fixes issue that generates an error message when getting table info, getting table schema, and exporting data for tables with uppercase letters

This commit is contained in:
Eric Dagenais
2018-04-11 05:54:50 -07:00
committed by Eric Dagenais
parent 2398035e53
commit 7b3e99b599
3 changed files with 13 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ SELECT
character_maximum_length,
character_set_catalog,
column_default,
pg_catalog.col_description(($1::text || '.' || $2::text)::regclass::oid, ordinal_position) as comment
pg_catalog.col_description(('"' || $1::text || '"."' || $2::text || '"')::regclass::oid, ordinal_position) as comment
FROM
information_schema.columns
WHERE