Skip to content

Commit 249fe81

Browse files
committed
Print bit strings as B'...' when INSERT commands are dumped.
1 parent 5b00ea9 commit 249fe81

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
*
2424
* IDENTIFICATION
25-
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.180 2000/11/14 18:37:45 tgl Exp $
25+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.181 2000/11/24 22:32:26 petere Exp $
2626
*
2727
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
2828
*
@@ -482,6 +482,11 @@ dumpClasses_dumpData(Archive *fout, char* oid, void *dctxv)
482482
archprintf(fout, "%s",
483483
PQgetvalue(res, tuple, field));
484484
break;
485+
case ZPBITOID:
486+
case VARBITOID:
487+
archprintf(fout, "B'%s'",
488+
PQgetvalue(res, tuple, field));
489+
break;
485490
default:
486491

487492
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy