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

Commit4e8b2fd

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 parent7ba903a commit4e8b2fd

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)

[8]ページ先頭

©2009-2025 Movatter.jp