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

Commitab7d2b6

Browse files
committed
Just noticed that libpq thinks the maximum command tag length is 40,
whereas in the backend it's been 64 for some time. Hasn't matteredbecause no actual tags exceed 40 bytes, but for consistency they shouldbe alike.
1 parent29ac718 commitab7d2b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/libpq/libpq-int.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.125 2007/07/2317:52:06 mha Exp $
15+
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.126 2007/07/2318:59:50 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -76,7 +76,7 @@ typedef struct {
7676
/*
7777
* POSTGRES backend dependent Constants.
7878
*/
79-
#defineCMDSTATUS_LEN40
79+
#defineCMDSTATUS_LEN64/* should match COMPLETION_TAG_BUFSIZE */
8080

8181
/*
8282
* PGresult and the subsidiary types PGresAttDesc, PGresAttValue

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp