提交 249fe81c 编写于 作者: P Peter Eisentraut

Print bit strings as B'...' when INSERT commands are dumped.

上级 5b00ea9e
......@@ -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:
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册