We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8b469bd commita351705Copy full SHA for a351705
src/backend/access/transam/commit_ts.c
@@ -384,7 +384,7 @@ error_commit_ts_disabled(void)
384
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
385
errmsg("could not get commit timestamp data"),
386
RecoveryInProgress() ?
387
-errhint("Make sure the configuration parameter \"%s\" is setin the master server.",
+errhint("Make sure the configuration parameter \"%s\" is seton the master server.",
388
"track_commit_timestamp") :
389
errhint("Make sure the configuration parameter \"%s\" is set.",
390
"track_commit_timestamp")));
src/backend/catalog/objectaddress.c
@@ -1901,7 +1901,7 @@ pg_get_object_address(PG_FUNCTION_ARGS)
1901
if (list_length(name)<1)
1902
ereport(ERROR,
1903
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
1904
-errmsg("name list must be of length at least %d",1)));
+errmsg("name listlengthmust be at least %d",1)));
1905
}
1906
1907
/*
src/backend/commands/policy.c
@@ -167,8 +167,8 @@ policy_role_list_to_array(List *roles, int *num_roles)
167
{
168
ereport(WARNING,
169
170
-errmsg("ignoringrolesspecified other thanpublic"),
171
-errhint("All roles are members of thepublic role.")));
+errmsg("ignoring specifiedrolesother thanPUBLIC"),
+errhint("All roles are members of thePUBLIC role.")));
172
*num_roles=1;
173
174
role_oids[0]=ObjectIdGetDatum(ACL_ID_PUBLIC);
src/backend/commands/user.c
@@ -959,7 +959,7 @@ DropRole(DropRoleStmt *stmt)
959
if (rolspec->roletype!=ROLESPEC_CSTRING)
960
961
962
-errmsg("cannot use special role specifier in\"%s\"","DROP ROLE")));
+errmsg("cannot use special role specifier in DROP ROLE")));
963
role=rolspec->rolename;
964
965
tuple=SearchSysCache1(AUTHNAME,PointerGetDatum(role));
src/backend/executor/nodeCustom.c
@@ -144,7 +144,7 @@ ExecCustomMarkPos(CustomScanState *node)
144
if (!node->methods->MarkPosCustomScan)
145
146
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
147
-errmsg("custom-scan \"%s\" does not support MarkPos",
+errmsg("customscan \"%s\" does not support MarkPos",
148
node->methods->CustomName)));
149
node->methods->MarkPosCustomScan(node);
150
@@ -155,7 +155,7 @@ ExecCustomRestrPos(CustomScanState *node)
155
if (!node->methods->RestrPosCustomScan)
156
157
158
159
160
node->methods->RestrPosCustomScan(node);
161
src/backend/utils/adt/jsonb.c
@@ -1238,7 +1238,7 @@ jsonb_build_object(PG_FUNCTION_ARGS)
1238
if (val_type==InvalidOid||val_type==UNKNOWNOID)
1239
1240
1241
-errmsg("arg %d: could not determine data type",i+2)));
+errmsg("argument %d: could not determine data type",i+2)));
1242
add_jsonb(arg,PG_ARGISNULL(i+1),&result,val_type, false);
1243
1244
@@ -1300,7 +1300,7 @@ jsonb_build_array(PG_FUNCTION_ARGS)
1300
1301
1302
1303
-errmsg("arg %d: could not determine data type",i+1)));
+errmsg("argument %d: could not determine data type",i+1)));
1304
add_jsonb(arg,PG_ARGISNULL(i),&result,val_type, false);
1305
1306
src/backend/utils/adt/jsonfuncs.c
@@ -3464,7 +3464,7 @@ jsonb_delete_idx(PG_FUNCTION_ARGS)
3464
if (JB_ROOT_IS_OBJECT(in))
3465
3466
3467
-errmsg("cannot delete from object using integersubscript")));
+errmsg("cannot delete from object using integerindex")));
3468
3469
if (JB_ROOT_COUNT(in)==0)
3470
PG_RETURN_JSONB(in);
src/test/regress/expected/jsonb.out
@@ -3173,7 +3173,7 @@ select '[]'::jsonb - 'a';
3173
select '"a"'::jsonb - 1; -- error
3174
ERROR: cannot delete from scalar
3175
select '{}'::jsonb - 1; -- error
3176
-ERROR: cannot delete from object using integersubscript
+ERROR: cannot delete from object using integerindex
3177
select '[]'::jsonb - 1;
3178
?column?
3179
----------
src/test/regress/expected/object_address.out
@@ -39,7 +39,7 @@ CREATE TRANSFORM FOR int LANGUAGE SQL (
39
SELECT pg_get_object_address('stone', '{}', '{}');
40
ERROR: unrecognized object type "stone"
41
SELECT pg_get_object_address('table', '{}', '{}');
42
-ERROR: name list must be of length at least 1
+ERROR: name listlengthmust be at least 1
43
SELECT pg_get_object_address('table', '{NULL}', '{}');
44
ERROR: name or argument lists may not contain nulls
45
-- unrecognized object types