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

Commit4e85b97

Browse files
committed
Fix attlen in RowDescription of BASE_BACKUP response
Should be 8 for int8, not -1.Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/7e4fdbdc-699c-4cd0-115d-fb78a957fc22@enterprisedb.com
1 parent255625d commit4e85b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/replication/basebackup_copy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ SendXlogRecPtrResult(XLogRecPtr ptr, TimeLineID tli)
361361
* would not be wide enough for this, as TimeLineID is unsigned.
362362
*/
363363
pq_sendint32(&buf,INT8OID);/* type oid */
364-
pq_sendint16(&buf,-1);
364+
pq_sendint16(&buf,8);
365365
pq_sendint32(&buf,0);
366366
pq_sendint16(&buf,0);
367367
pq_endmessage(&buf);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp