postgresql/src/include
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
..
access Avoid assuming there will be only 3 states for synchronous_commit. 2011-04-04 23:23:13 +01:00
bootstrap Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
catalog Add casts from int4 and int8 to numeric. 2011-04-05 09:35:43 -04:00
commands Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
executor Fix handling of collation in SQL-language functions. 2011-03-24 20:30:23 -04:00
foreign Support comments on FOREIGN DATA WRAPPER and SERVER objects. 2011-04-01 11:28:28 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Automatically terminate replication connections that are idle for more 2011-03-30 10:20:37 +03:00
mb Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
nodes Rearrange "add column" logic to merge columns at exec time. 2011-04-03 21:53:32 -04:00
optimizer Reimplement planner's handling of MIN/MAX aggregate optimization (again). 2011-03-22 00:34:31 -04:00
parser Revise collation derivation method and expression-tree representation. 2011-03-19 20:30:08 -04:00
port Fix typo 2011-01-30 20:34:05 -05:00
portability Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
postmaster Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
regex Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
replication Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
rewrite Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
snowball Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
storage Avoid possible hang during smart shutdown. 2011-04-03 19:42:00 -04:00
tcop Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
tsearch Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
utils Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
c.h Enable building with the Mingw64 compiler. 2011-01-30 19:56:46 -05:00
fmgr.h Revise collation derivation method and expression-tree representation. 2011-03-19 20:30:08 -04:00
funcapi.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
getaddrinfo.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
getopt_long.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
Makefile Add maintainer-check target 2011-03-28 22:56:52 +03:00
miscadmin.h Code review for postmaster.pid contents changes. 2011-01-13 19:01:28 -05:00
pg_config.h.in Per-column collation support 2011-02-08 23:04:18 +02:00
pg_config.h.win32 Only build in crashdump support on Windows if there's a working dbghelp.h. 2010-12-26 10:34:47 -05:00
pg_config_manual.h Support unlogged tables. 2010-12-29 06:48:53 -05:00
pg_trace.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
pgstat.h Add client_hostname field to pg_stat_activity. 2011-02-17 16:03:28 -05:00
pgtime.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
port.h Fix up handling of C/POSIX collations. 2011-03-20 12:44:13 -04:00
postgres.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
postgres_ext.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
postgres_fe.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
rusagestub.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
windowapi.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00