- 29 7月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
materialized. New items have been added to GucContext and GucSource enums, but of course they were not added to the corresponding GucContextName[] and GucSourceName[] arrays in the patch. Here's a new patch to fix the resulting bugs. Joe Conway
-
- 27 7月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
>>ISTM that "source" is worth knowing. > > Hm, possibly. Any other opinions? This version has the seven fields I proposed, including "source". Here's an example that shows why I think it's valuable: regression=# \x Expanded display is on. regression=# select * from pg_settings where name = 'enable_seqscan'; -[ RECORD 1 ]----------- name | enable_seqscan setting | on context | user vartype | bool source | default min_val | max_val | regression=# update pg_settings set setting = 'off' where name = 'enable_seqscan'; -[ RECORD 1 ]--- set_config | off regression=# select * from pg_settings where name = 'enable_seqscan'; -[ RECORD 1 ]----------- name | enable_seqscan setting | off context | user vartype | bool source | session min_val | max_val | regression=# alter user postgres set enable_seqscan to 'off'; ALTER USER (log out and then back in again) regression=# \x Expanded display is on. regression=# select * from pg_settings where name = 'enable_seqscan'; -[ RECORD 1 ]----------- name | enable_seqscan setting | off context | user vartype | bool source | user min_val | max_val | In the first case, enable_seqscan is set to its default value. After setting it to off, it is obvious that the value has been changed for the session only. In the third case, you can see that the value has been set specifically for the user. Joe Conway
-
- 22 7月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 10 7月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
Aizaz Ahmed
-
- 09 7月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
or increased only by super-users. This fixes problems caused by making certain variables SUSET for security reasons.
-
- 12 6月, 2003 1 次提交
-
-
由 Bruce Momjian 提交于
Christopher Kings-Lynne
-
- 07 5月, 2003 1 次提交
-
-
由 Tom Lane 提交于
DestReceiver pointers instead of just CommandDest values. The DestReceiver is made at the point where the destination is selected, rather than deep inside the executor. This cleans up the original kluge implementation of tstoreReceiver.c, and makes it easy to support retrieving results from utility statements inside portals. Thus, you can now do fun things like Bind and Execute a FETCH or EXPLAIN command, and it'll all work as expected (e.g., you can Describe the portal, or use Execute's count parameter to suspend the output partway through). Implementation involves stuffing the utility command's output into a Tuplestore, which would be kind of annoying for huge output sets, but should be quite acceptable for typical uses of utility commands.
-
- 03 5月, 2003 3 次提交
-
-
由 Bruce Momjian 提交于
Dump/read non-default GUC values for use by exec'ed backend, for Win32.
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 26 4月, 2003 1 次提交
-
-
由 Tom Lane 提交于
initial values and runtime changes in selected parameters. This gets rid of the need for an initial 'select pg_client_encoding()' query in libpq, bringing us back to one message transmitted in each direction for a standard connection startup. To allow server version to be sent using the same GUC mechanism that handles other parameters, invent the concept of a never-settable GUC parameter: you can 'show server_version' but it's not settable by any GUC input source. Create 'lc_collate' and 'lc_ctype' never-settable parameters so that people can find out these settings without need for pg_controldata. (These side ideas were all discussed some time ago in pgsql-hackers, but not yet implemented.)
-
- 15 11月, 2002 2 次提交
-
-
由 Bruce Momjian 提交于
! #show_parser_stats = false ! #show_planner_stats = false ! #show_executor_stats = false ! #show_statement_stats = false TO: ! #log_parser_stats = false ! #log_planner_stats = false ! #log_executor_stats = false ! #log_statement_stats = false
-
由 Bruce Momjian 提交于
of log_ settings.
-
- 22 10月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 05 9月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 02 9月, 2002 2 次提交
-
-
由 Bruce Momjian 提交于
is an error, warning, etc. Gavin Sherry
-
由 Bruce Momjian 提交于
Rename debug_print_query to log_statement and rename show_query_stats to show_statement_stats.
-
- 31 7月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
changes mentioned above, and also adds a new function to the tablefunc API. The tablefunc API change adds the following function: * Oid foidGetTypeId(Oid foid) - Get a function's typeid given the * function Oid. Use this together with TypeGetTupleDesc() to get a * TupleDesc which is derived from the function's declared return type. In the next post I'll send the contrib/tablefunc patch, which illustrates the usage of this new function. Also attached is a doc patch for this change. The doc patch also adds a function that I failed to document previously. Joe Conway
-
- 20 7月, 2002 2 次提交
-
-
由 Tom Lane 提交于
new SHOW output format.
-
由 Bruce Momjian 提交于
> submitted on July 9: > > http://archives.postgresql.org/pgsql-patches/2002-07/msg00056.php > > Please disregard that one *if* this one is applied. If this one is > rejected please go ahead with the July 9th patch. The July 9th Table Function API patch mentioned above is now in CVS, so here is an updated version of the guc patch which should apply cleanly against CVS tip. Joe Conway
-
- 17 5月, 2002 1 次提交
-
-
由 Tom Lane 提交于
GUC support. It's now possible to set datestyle, timezone, and client_encoding from postgresql.conf and per-database or per-user settings. Also, implement rollback of SET commands that occur in a transaction that later fails. Create a SET LOCAL var = value syntax that sets the variable only for the duration of the current transaction. All per previous discussions in pghackers.
-
- 24 3月, 2002 1 次提交
-
-
由 Tom Lane 提交于
Also, fix debug logging of parse/plan trees so that the messages actually go through elog(), not directly to stdout.
-
- 02 3月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
variables. New commands ALTER DATABASE ... SET and ALTER USER ... SET.
-
- 23 2月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
any order without affecting results.
-
- 06 11月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
initdb/regression tests pass.
-
- 28 10月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
spacing. Also adds space for one-line comments.
-
- 25 10月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
tests pass.
-
- 01 10月, 2001 1 次提交
-
-
由 Tom Lane 提交于
from the config file, so that these changes will propagate to backends started later. Already-started backends continue to ignore changes in these variables.
-
- 19 6月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
functions to clear date cache. Allow regression tests to pass when timezone set.
-
- 13 6月, 2001 1 次提交
-
-
由 Tom Lane 提交于
datatypes, not only strings. parse_hook is useless for bool, I suppose, but it seems possibly useful for int and double to apply variable-specific constraints that are more complex than simple range limits. assign_hook is definitely useful for all datatypes --- we need it right now for bool to support date cache reset when changing Australian timezone rule setting. Also, clean up some residual problems with the reset all/show all patch, including memory leaks and mistaken reset of PostPortNumber. It seems best that RESET ALL not touch variables that don't have SUSET or USERSET context.
-
- 07 6月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
on RESET ALL those are restored. show all: GUC + non-GUC. SHOW ALL, RESET ALL Marko Kreen
-
- 22 3月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 10 2月, 2001 1 次提交
-
-
由 Tom Lane 提交于
are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
-
- 28 7月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
for today's snapshot Andreas
-
- 04 7月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
parsing to not clobber the optarg string -- so that we can bring SetOptsFile() up to speed.
-
- 23 6月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering here, so make explicit checks. Add comments explaining all of this. Removed permissions check on SHOW command. Add examine_subclass to the game, rename to SQL_inheritance to fit the official data model better. Adjust documentation. Standalone backend needs to reset all options before it starts. To facilitate that, have IsUnderPostmaster be set by the postmaster itself, don't wait for the magic -p switch. Also make sure that all environment variables and argv's survive init_ps_display(). Use strdup where necessary. Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode 0600 -- having configuration files is no fun if you can't edit them.
-
- 31 5月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
That means you can now set your options in either or all of $PGDATA/configuration, some postmaster option (--enable-fsync=off), or set a SET command. The list of options is in backend/utils/misc/guc.c, documentation will be written post haste. pg_options is gone, so is that pq_geqo config file. Also removed were backend -K, -Q, and -T options (no longer applicable, although -d0 does the same as -Q). Added to configure an --enable-syslog option. changed all callers from TPRINTF to elog(DEBUG)
-