Commit 39370e6a authored by Peter Eisentraut's avatar Peter Eisentraut

pg_dump: Fix typo in query

This could lead to incorrect dumping of language privileges in some
cases, which is probably a rare situation.
parent 638d650d
......@@ -7160,7 +7160,7 @@ getProcLangs(Archive *fout, int *numProcLangs)
"FROM pg_language l "
"LEFT JOIN pg_init_privs pip ON "
"(l.oid = pip.objoid "
"AND pip.classoid = 'pg_type'::regclass "
"AND pip.classoid = 'pg_language'::regclass "
"AND pip.objsubid = 0) "
"WHERE l.lanispl "
"ORDER BY l.oid",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment