postgresql/src/include/commands
Tom Lane 2594cf0e8c Revise the API for GUC variable assign hooks.
The previous functions of assign hooks are now split between check hooks
and assign hooks, where the former can fail but the latter shouldn't.
Aside from being conceptually clearer, this approach exposes the
"canonicalized" form of the variable value to guc.c without having to do
an actual assignment.  And that lets us fix the problem recently noted by
Bernd Helmle that the auto-tune patch for wal_buffers resulted in bogus
log messages about "parameter "wal_buffers" cannot be changed without
restarting the server".  There may be some speed advantage too, because
this design lets hook functions avoid re-parsing variable values when
restoring a previous state after a rollback (they can store a pre-parsed
representation of the value instead).  This patch also resolves a
longstanding annoyance about custom error messages from variable assign
hooks: they should modify, not appear separately from, guc.c's own message
about "invalid parameter value".
2011-04-07 00:12:02 -04:00
..
alter.h Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
async.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
cluster.h Make ALTER TABLE revalidate uniqueness and exclusion constraints. 2011-01-20 22:44:10 -05:00
collationcmds.h DDL support for collations 2011-02-12 15:55:18 +02:00
comment.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
conversioncmds.h Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
copy.h Add contrib/file_fdw foreign-data wrapper for reading files via COPY. 2011-02-20 14:06:59 -05:00
dbcommands.h DDL support for collations 2011-02-12 15:55:18 +02:00
defrem.h Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
discard.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
explain.h Implement an API to let foreign-data wrappers actually be functional. 2011-02-20 00:18:14 -05:00
extension.h Add support for multiple versions of an extension and ALTER EXTENSION UPDATE. 2011-02-11 21:25:57 -05:00
lockcmds.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
portalcmds.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
prepare.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
proclang.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
schemacmds.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
seclabel.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
sequence.h Implement remaining fields of information_schema.sequences view 2011-01-02 15:15:21 +02:00
tablecmds.h Tweak find_composite_type_dependencies API a bit more. 2011-02-11 08:47:38 -05:00
tablespace.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
trigger.h Fix dangling-pointer problem in before-row update trigger processing. 2011-02-21 21:19:50 -05:00
typecmds.h Core support for "extensions", which are packages of SQL objects. 2011-02-08 16:13:22 -05:00
user.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
vacuum.h Make all comparisons done for/with statistics use the default collation. 2011-03-12 16:30:36 -05:00
variable.h Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
view.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00