Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit249fe81

Browse files
committed
Print bit strings as B'...' when INSERT commands are dumped.
1 parent5b00ea9 commit249fe81

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+
caseZPBITOID:
486+
caseVARBITOID:
487+
archprintf(fout,"B'%s'",
488+
PQgetvalue(res,tuple,field));
489+
break;
485490
default:
486491

487492
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp