Skip to content

Commit bee34e9

Browse files
committed
Fix bad SQL, per Stefan Kaltenbrunner.
1 parent 6d61cde commit bee34e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/pg_dump/pg_dumpall.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
*
9-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.72 2006/03/05 15:58:51 momjian Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.73 2006/03/30 01:08:15 adunstan Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -444,7 +444,7 @@ dumpRoles(PGconn *conn)
444444
"true as rolcanlogin, "
445445
"-1 as rolconnlimit, "
446446
"passwd as rolpassword, "
447-
"valuntil as rolvaliduntil "
447+
"valuntil as rolvaliduntil, "
448448
"null as rolcomment "
449449
"FROM pg_shadow "
450450
"UNION ALL "
@@ -457,8 +457,8 @@ dumpRoles(PGconn *conn)
457457
"false as rolcanlogin, "
458458
"-1 as rolconnlimit, "
459459
"null::text as rolpassword, "
460-
"null::abstime as rolvaliduntil "
461-
"null "
460+
"null::abstime as rolvaliduntil, "
461+
"null as rolcomment "
462462
"FROM pg_group");
463463

464464
res = executeQuery(conn, buf->data);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy