1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

OK, some of these syntax errors should be given other codes.

This commit is contained in:
Peter Eisentraut
2003-09-15 20:03:37 +00:00
parent baba02a84e
commit 2d13472c9e
9 changed files with 25 additions and 28 deletions

View File

@ -6,7 +6,7 @@
* Copyright (c) 2003, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/array_userfuncs.c,v 1.9 2003/09/09 23:22:21 petere Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/array_userfuncs.c,v 1.10 2003/09/15 20:03:37 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -95,7 +95,7 @@ array_push(PG_FUNCTION_ARGS)
indx = 1;
else
ereport(ERROR,
(errcode(ERRCODE_SYNTAX_ERROR),
(errcode(ERRCODE_DATA_EXCEPTION),
errmsg("argument must be empty or one-dimensional array")));
/*