mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
Unify some more messages
No backpatch here because of message wording changes. Author: Álvaro Herrera <alvherre@kurilemu.de> Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://postgr.es/m/202512081537.ahw5gwoencou@alvherre.pgsql
This commit is contained in:
@@ -294,7 +294,7 @@ DROP MATERIALIZED VIEW IF EXISTS no_such_mv;
|
||||
NOTICE: materialized view "no_such_mv" does not exist, skipping
|
||||
-- make sure invalid combination of options is prohibited
|
||||
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_tvmm WITH NO DATA;
|
||||
ERROR: CONCURRENTLY and WITH NO DATA options cannot be used together
|
||||
ERROR: REFRESH options CONCURRENTLY and WITH NO DATA cannot be used together
|
||||
-- no tuple locks on materialized views
|
||||
SELECT * FROM mvtest_tvvm FOR SHARE;
|
||||
ERROR: cannot lock rows in materialized view "mvtest_tvvm"
|
||||
|
||||
@@ -965,7 +965,7 @@ ERROR: unrecognized CHECKPOINT option "wrong"
|
||||
LINE 1: CHECKPOINT (WRONG);
|
||||
^
|
||||
CHECKPOINT (MODE WRONG);
|
||||
ERROR: unrecognized MODE option "wrong"
|
||||
ERROR: unrecognized value for CHECKPOINT option "mode": "wrong"
|
||||
LINE 1: CHECKPOINT (MODE WRONG);
|
||||
^
|
||||
CHECKPOINT (MODE FAST, FLUSH_UNLOGGED FALSE);
|
||||
|
||||
Reference in New Issue
Block a user