mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Fix message style
Mark one message not for translation, and prefer "cannot" over "may not", per commentary from Robert Haas. Discussion: https://postgr.es/m/20190430145813.GA29872@alvherre.pgsql
This commit is contained in:
@ -1301,7 +1301,7 @@ heap_getnext(TableScanDesc sscan, ScanDirection direction)
|
||||
if (unlikely(sscan->rs_rd->rd_tableam != GetHeapamTableAmRoutine()))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("only heap AM is supported")));
|
||||
errmsg_internal("only heap AM is supported")));
|
||||
|
||||
/* Note: no locking manipulations needed */
|
||||
|
||||
|
Reference in New Issue
Block a user