mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Message style and wording fixes
This commit is contained in:
@ -110,17 +110,17 @@ ORDER BY 1;
|
||||
-- Test invalid options.
|
||||
--
|
||||
ALTER OPERATOR === (boolean, boolean) SET (COMMUTATOR = ====);
|
||||
ERROR: operator attribute "commutator" can not be changed
|
||||
ERROR: operator attribute "commutator" cannot be changed
|
||||
ALTER OPERATOR === (boolean, boolean) SET (NEGATOR = ====);
|
||||
ERROR: operator attribute "negator" can not be changed
|
||||
ERROR: operator attribute "negator" cannot be changed
|
||||
ALTER OPERATOR === (boolean, boolean) SET (RESTRICT = non_existent_func);
|
||||
ERROR: function non_existent_func(internal, oid, internal, integer) does not exist
|
||||
ALTER OPERATOR === (boolean, boolean) SET (JOIN = non_existent_func);
|
||||
ERROR: function non_existent_func(internal, oid, internal, smallint, internal) does not exist
|
||||
ALTER OPERATOR === (boolean, boolean) SET (COMMUTATOR = !==);
|
||||
ERROR: operator attribute "commutator" can not be changed
|
||||
ERROR: operator attribute "commutator" cannot be changed
|
||||
ALTER OPERATOR === (boolean, boolean) SET (NEGATOR = !==);
|
||||
ERROR: operator attribute "negator" can not be changed
|
||||
ERROR: operator attribute "negator" cannot be changed
|
||||
--
|
||||
-- Test permission check. Must be owner to ALTER OPERATOR.
|
||||
--
|
||||
|
@ -109,7 +109,7 @@ CREATE AGGREGATE myavg (numeric)
|
||||
sfunc = numeric_avg_accum,
|
||||
serialtype = internal
|
||||
);
|
||||
ERROR: aggregate serialization type cannot be "internal"
|
||||
ERROR: aggregate serialization data type cannot be internal
|
||||
-- if serialtype is specified we need a serialfunc and deserialfunc
|
||||
CREATE AGGREGATE myavg (numeric)
|
||||
(
|
||||
|
@ -154,10 +154,10 @@ SELECT parse_ident(' ');
|
||||
ERROR: string is not a valid identifier: " "
|
||||
SELECT parse_ident(' .aaa');
|
||||
ERROR: string is not a valid identifier: " .aaa"
|
||||
DETAIL: No valid identifier before "." symbol.
|
||||
DETAIL: No valid identifier before ".".
|
||||
SELECT parse_ident(' aaa . ');
|
||||
ERROR: string is not a valid identifier: " aaa . "
|
||||
DETAIL: No valid identifier after "." symbol.
|
||||
DETAIL: No valid identifier after ".".
|
||||
SELECT parse_ident('aaa.a%b');
|
||||
ERROR: string is not a valid identifier: "aaa.a%b"
|
||||
SELECT parse_ident(E'X\rXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX');
|
||||
@ -188,10 +188,10 @@ SELECT parse_ident('10.20');
|
||||
SELECT parse_ident('10.20');
|
||||
ERROR: string is not a valid identifier: "10.20"
|
||||
SELECT parse_ident('.');
|
||||
ERROR: string is not a valid identifier: "."
|
||||
ERROR: string is not a valid identifier: "."
|
||||
DETAIL: No valid identifier before ".".
|
||||
SELECT parse_ident('.1020');
|
||||
ERROR: string is not a valid identifier: ".1020"
|
||||
ERROR: string is not a valid identifier: ".1020"
|
||||
DETAIL: No valid identifier before ".".
|
||||
SELECT parse_ident('xxx.1020');
|
||||
ERROR: string is not a valid identifier: "xxx.1020"
|
||||
ERROR: string is not a valid identifier: "xxx.1020"
|
||||
|
Reference in New Issue
Block a user