1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-09 06:21:09 +03:00
Files
postgres/src/backend
Tom Lane 9f5836d224 Remember the source GucContext for each GUC parameter.
We used to just remember the GucSource, but saving GucContext too provides
a little more information --- notably, whether a SET was done by a
superuser or regular user.  This allows us to rip out the fairly dodgy code
that define_custom_variable used to use to try to infer the context to
re-install a pre-existing setting with.  In particular, it now works for
a superuser to SET a extension's SUSET custom variable before loading the
associated extension, because GUC can remember whether the SET was done as
a superuser or not.  The plperl regression tests contain an example where
this is useful.
2011-10-04 16:13:50 -04:00
..
2011-09-26 13:12:22 -04:00
2011-01-01 13:18:15 -05:00
2011-09-11 21:54:32 +03:00
2011-06-09 14:32:50 -04:00
2011-09-11 21:54:32 +03:00
2011-08-17 14:07:46 +03:00
2011-08-26 18:15:13 -04:00
2011-09-11 21:54:32 +03:00