postgresql/src/backend/access
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
..
brin Fix typos in comments. 2016-08-29 16:06:40 +09:00
common Add location field to DefElem 2016-09-06 12:00:00 -04:00
gin Fix corrupt GIN_SEGMENT_ADDITEMS WAL records on big-endian hardware. 2016-09-03 13:28:53 -04:00
gist Add macros to make AllocSetContextCreate() calls simpler and safer. 2016-08-27 17:50:38 -04:00
hash Split hash.h → hash_xlog.h 2016-08-29 18:55:49 -03:00
heap Add macros to make AllocSetContextCreate() calls simpler and safer. 2016-08-27 17:50:38 -04:00
index Add SQL-accessible functions for inspecting index AM properties. 2016-08-13 18:31:14 -04:00
nbtree Add macros to make AllocSetContextCreate() calls simpler and safer. 2016-08-27 17:50:38 -04:00
rmgrdesc Split hash.h → hash_xlog.h 2016-08-29 18:55:49 -03:00
spgist Add macros to make AllocSetContextCreate() calls simpler and safer. 2016-08-27 17:50:38 -04:00
tablesample Update copyright for 2016 2016-01-02 13:33:40 -05:00
transam New recovery target recovery_target_lsn 2016-09-03 17:48:01 +01:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00