Skip to content

Commit 4e8b2fd

Browse files
committed
pg_dump: Fix typo in query
This could lead to incorrect dumping of language privileges in some cases, which is probably a rare situation.
1 parent 7ba903a commit 4e8b2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7260,7 +7260,7 @@ getProcLangs(Archive *fout, int *numProcLangs)
72607260
"FROM pg_language l "
72617261
"LEFT JOIN pg_init_privs pip ON "
72627262
"(l.oid = pip.objoid "
7263-
"AND pip.classoid = 'pg_type'::regclass "
7263+
"AND pip.classoid = 'pg_language'::regclass "
72647264
"AND pip.objsubid = 0) "
72657265
"WHERE l.lanispl "
72667266
"ORDER BY l.oid",

0 commit comments

Comments
 (0)