mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Fix buffer clearing bug.
This commit is contained in:
parent
62c35b3098
commit
d6b043eb63
@ -12,7 +12,7 @@
|
|||||||
* by PostgreSQL
|
* by PostgreSQL
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.315 2003/01/23 23:39:01 petere Exp $
|
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.316 2003/02/11 21:06:58 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -5047,7 +5047,7 @@ dumpACL(Archive *fout, const char *type, const char *name,
|
|||||||
*/
|
*/
|
||||||
if (!found_owner_privs && owner)
|
if (!found_owner_privs && owner)
|
||||||
{
|
{
|
||||||
appendPQExpBuffer(sql, "REVOKE ALL ON %s %s FROM %s;\n",
|
printfPQExpBuffer(sql, "REVOKE ALL ON %s %s FROM %s;\n",
|
||||||
type, name, fmtId(owner));
|
type, name, fmtId(owner));
|
||||||
MKENTRY(owner, sql->data);
|
MKENTRY(owner, sql->data);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user