projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b00ea9
)
Print bit strings as B'...' when INSERT commands are dumped.
author
Peter Eisentraut
Fri, 24 Nov 2000 22:32:26 +0000
(22:32 +0000)
committer
Peter Eisentraut
Fri, 24 Nov 2000 22:32:26 +0000
(22:32 +0000)
src/bin/pg_dump/pg_dump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dump.c
b/src/bin/pg_dump/pg_dump.c
index 0d0fba26a2cb471fd9f295d17cc36c91f4ad3c16..7c55378dee9ef8c2abd9560abc03ad0d40521506 100644
(file)
--- 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.18
0 2000/11/14 18:37:45 tgl
Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.18
1 2000/11/24 22:32:26 petere
Exp $
*
* Modifications - 6/10/96 -
[email protected]
- 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:
/*