Fix buffer clearing bug.
authorPeter Eisentraut
Tue, 11 Feb 2003 21:06:58 +0000 (21:06 +0000)
committerPeter Eisentraut
Tue, 11 Feb 2003 21:06:58 +0000 (21:06 +0000)
src/bin/pg_dump/pg_dump.c

index 32b529b64e94602f8953d62f7cba79dcd5737ce4..2ad209a87a45e599e71ca11d3119dbec7498babc 100644 (file)
@@ -12,7 +12,7 @@
  * by PostgreSQL
  *
  * 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)
    {
-       appendPQExpBuffer(sql, "REVOKE ALL ON %s %s FROM %s;\n",
+       printfPQExpBuffer(sql, "REVOKE ALL ON %s %s FROM %s;\n",
                          type, name, fmtId(owner));
        MKENTRY(owner, sql->data);
    }