Commit d6b043eb authored by Peter Eisentraut's avatar Peter Eisentraut

Fix buffer clearing bug.

parent 62c35b30
...@@ -12,7 +12,7 @@ ...@@ -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, ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment