postgresql/src/backend/tcop
Peter Eisentraut 49eb0fd097 Add location field to DefElem
Add a location field to the DefElem struct, used to parse many utility
commands.  Update various error messages to supply error position
information.

To propogate the error position information in a more systematic way,
create a ParseState in standard_ProcessUtility() and pass that to
interested functions implementing the utility commands.  This seems
better than passing the query string and then reassembling a parse state
ad hoc, which violates the encapsulation of the ParseState type.

Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
2016-09-06 12:00:00 -04:00
..
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
dest.c Stop the executor if no more tuples can be sent from worker to leader. 2016-06-06 14:52:58 -04:00
fastpath.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
postgres.c Add macros to make AllocSetContextCreate() calls simpler and safer. 2016-08-27 17:50:38 -04:00
pquery.c Fix TOAST access failure in RETURNING queries. 2016-08-07 17:46:08 -04:00
utility.c Add location field to DefElem 2016-09-06 12:00:00 -04:00