test: attempt to fix tests again

This commit is contained in:
Steven Kabbes 2017-08-04 14:16:59 -07:00
parent 8d4d564935
commit 2d03aa02e2
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ func test_Table(t *testing.T) {
"character_maximum_length", "character_maximum_length",
"character_set_catalog", "character_set_catalog",
"column_default", "column_default",
"comment" "comment",
} }
assert.Equal(t, nil, err) assert.Equal(t, nil, err)

View File

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