Skip to content

Commit a426f6b

Browse files
committed
Postgres, fix a bunch of schema dump and enum tests
1 parent bfb30ab commit a426f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arjdbc/postgresql/adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def enum_types
345345
type.typname AS name,
346346
type.OID AS oid,
347347
n.nspname AS schema,
348-
string_agg(enum.enumlabel, ',' ORDER BY enum.enumsortorder) AS value
348+
array_agg(enum.enumlabel ORDER BY enum.enumsortorder) AS value
349349
FROM pg_enum AS enum
350350
JOIN pg_type AS type ON (type.oid = enum.enumtypid)
351351
JOIN pg_namespace n ON type.typnamespace = n.oid

0 commit comments

Comments
 (0)