Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit39370e6

Browse files
committed
pg_dump: Fix typo in query
This could lead to incorrect dumping of language privileges in somecases, which is probably a rare situation.
1 parent638d650 commit39370e6

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)

[8]ページ先頭

©2009-2025 Movatter.jp