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

Commitf06156d

Browse files
committed
Mark internal messages as no longer translatable
The problem that these messages protect against can only occur becausea corrupted hash spill file was written, i.e., a Postgres bug. There'sno reason to have them as translatable.Backpatch to 15, where these messages were changed by commitc4649cc.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/20230510175407.dwa5v477pw62ikyx@alvherre.pgsql
1 parentbc478a0 commitf06156d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/backend/executor/nodeAgg.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3003,17 +3003,17 @@ hashagg_batch_read(HashAggBatch *batch, uint32 *hashp)
30033003
if (nread!=sizeof(uint32))
30043004
ereport(ERROR,
30053005
(errcode_for_file_access(),
3006-
errmsg("unexpected EOF for tape %p: requested %zu bytes, read %zu bytes",
3007-
tape,sizeof(uint32),nread)));
3006+
errmsg_internal("unexpected EOF for tape %p: requested %zu bytes, read %zu bytes",
3007+
tape,sizeof(uint32),nread)));
30083008
if (hashp!=NULL)
30093009
*hashp=hash;
30103010

30113011
nread=LogicalTapeRead(tape,&t_len,sizeof(t_len));
30123012
if (nread!=sizeof(uint32))
30133013
ereport(ERROR,
30143014
(errcode_for_file_access(),
3015-
errmsg("unexpected EOF for tape %p: requested %zu bytes, read %zu bytes",
3016-
tape,sizeof(uint32),nread)));
3015+
errmsg_internal("unexpected EOF for tape %p: requested %zu bytes, read %zu bytes",
3016+
tape,sizeof(uint32),nread)));
30173017

30183018
tuple= (MinimalTuple)palloc(t_len);
30193019
tuple->t_len=t_len;
@@ -3024,8 +3024,8 @@ hashagg_batch_read(HashAggBatch *batch, uint32 *hashp)
30243024
if (nread!=t_len-sizeof(uint32))
30253025
ereport(ERROR,
30263026
(errcode_for_file_access(),
3027-
errmsg("unexpected EOF for tape %p: requested %zu bytes, read %zu bytes",
3028-
tape,t_len-sizeof(uint32),nread)));
3027+
errmsg_internal("unexpected EOF for tape %p: requested %zu bytes, read %zu bytes",
3028+
tape,t_len-sizeof(uint32),nread)));
30293029

30303030
returntuple;
30313031
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp