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

Commit5c431eb

Browse files
committed
Included patches should fix following problems in the muti-byte
enabled PostgreSQL 6.4.o binary cursor does not worko pg_dumpall produces incorrect create database statemntTatsuo Ishiit-ishii@sra.co.jp
1 parent439ef85 commit5c431eb

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

‎src/backend/access/common/printtup.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.36 1998/11/27 19:51:28 vadim Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.37 1998/12/12 22:04:09 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -289,12 +289,9 @@ printtup_internal(HeapTuple tuple, TupleDesc typeinfo)
289289
/* variable length, assume a varlena structure */
290290
len=VARSIZE(attr)-VARHDRSZ;
291291

292-
#ifdefMULTIBYTE
293-
pq_putncharlen(VARDATA(attr),len);
294-
#else
295292
pq_putint(len,VARHDRSZ);
296293
pq_putnchar(VARDATA(attr),len);
297-
#endif
294+
298295
#ifdefIPORTAL_DEBUG
299296
{
300297
char*d=VARDATA(attr);

‎src/bin/pg_dump/pg_dumpall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ do
5959
6060
if createdb -help|grep encoding >/dev/null
6161
then
62-
echo"create database with encoding='`pg_encoding $ENCODING`'$DATABASE;"
62+
echo"create database$DATABASEwith encoding='`pg_encoding $ENCODING`';"
6363
else
6464
echo"create database$DATABASE;"
6565
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp