diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-11-24 22:32:26 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-11-24 22:32:26 +0000 |
commit | 249fe81c9940fc89f677b0f9d44b31a8764bd87a (patch) | |
tree | 4867228ff7e4638ca244cb62b399c660fd893371 | |
parent | 5b00ea9e50332882a46f7302a0c1db1f609a4c0b (diff) | |
download | postgresql-249fe81c9940fc89f677b0f9d44b31a8764bd87a.tar.gz postgresql-249fe81c9940fc89f677b0f9d44b31a8764bd87a.zip |
Print bit strings as B'...' when INSERT commands are dumped.
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 0d0fba26a2c..7c55378dee9 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -22,7 +22,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.180 2000/11/14 18:37:45 tgl Exp $ + * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.181 2000/11/24 22:32:26 petere Exp $ * * Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb * @@ -482,6 +482,11 @@ dumpClasses_dumpData(Archive *fout, char* oid, void *dctxv) archprintf(fout, "%s", PQgetvalue(res, tuple, field)); break; + case ZPBITOID: + case VARBITOID: + archprintf(fout, "B'%s'", + PQgetvalue(res, tuple, field)); + break; default: /* |