Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 39370e6

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 638d650 commit 39370e6

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
@@ -7160,7 +7160,7 @@ getProcLangs(Archive *fout, int *numProcLangs)
71607160
"FROM pg_language l "
71617161
"LEFT JOIN pg_init_privs pip ON "
71627162
"(l.oid = pip.objoid "
7163-
"AND pip.classoid = 'pg_type'::regclass "
7163+
"AND pip.classoid = 'pg_language'::regclass "
71647164
"AND pip.objsubid = 0) "
71657165
"WHERE l.lanispl "
71667166
"ORDER BY l.oid",

0 commit comments

Comments
 (0)