postgres.git / summary / log / commit / refs

commit    4e8b2fd335a913a09f32cc0f51b6f03405631cbb
Author:   Peter Eisentraut <peter_e@gmx.net>
Date:     Fri Feb 17 20:06:34 2017 +0000

    pg_dump: Fix typo in query
    
    This could lead to incorrect dumping of language privileges in some
    cases, which is probably a rare situation.


src/bin/pg_dump/pg_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index ea64c77621c..2306735a5e2 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -7260,7 +7260,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", [parent: 7ba903abb24a]