postgresql/src/include/commands
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
..
alter.h Support ALTER THING .. DEPENDS ON EXTENSION 2016-04-05 18:38:54 -03:00
async.h Final pgindent + perltidy run for 9.6. 2016-08-15 13:42:51 -04:00
cluster.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
collationcmds.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
comment.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
conversioncmds.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
copy.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
createas.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
dbcommands.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
dbcommands_xlog.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
defrem.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
discard.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
event_trigger.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
explain.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
extension.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
lockcmds.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
matview.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
policy.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
portalcmds.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
prepare.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
proclang.h Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
progress.h Add simple VACUUM progress reporting. 2016-03-15 13:32:56 -04:00
schemacmds.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
seclabel.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
sequence.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
tablecmds.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
tablespace.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
trigger.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
typecmds.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
user.h Add location field to DefElem 2016-09-06 12:00:00 -04:00
vacuum.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
variable.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
view.h Update copyright for 2016 2016-01-02 13:33:40 -05:00