summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc
AgeCommit message (Collapse)Author
2006-02-04Issue a warning if a change-on-restart-only postgresql.conf value isPeter Eisentraut
modified and the server config files are reloaded
2006-01-09Change allow_system_table_mods to PGC_POSTMASTER, restoring previousPeter Eisentraut
behavior.
2006-01-08Fix the assert_enabled issue properly. This eliminates the former ABITom Lane
difference between USE_ASSERT_CHECKING and not: the assert_enabled variable is always there.
2006-01-08Recent patch broke guc.c for non-USE_ASSERT_CHECKING case. PerTom Lane
Stefan Kaltenbrunner.
2006-01-05Make all command-line options of postmaster and postgres the same. SeePeter Eisentraut
http://archives.postgresql.org/pgsql-hackers/2006-01/msg00151.php for the complete plan.
2006-01-05Remove QNX port.Bruce Momjian
2006-01-02Reset flex state in a way that works for both flex 2.5.4 and 2.5.31.Tom Lane
2006-01-01Rewrite ProcessConfigFile() to avoid misbehavior at EOF, as per reportTom Lane
from Andrus Moor. The former state-machine-style coding wasn't actually doing much except obscuring the control flow, and it didn't extend readily to fix this case, so I just took it out. Also, add a YY_FLUSH_BUFFER call to ensure the lexer is reset correctly if the previous scan failed partway through the file.
2005-12-30Disallow setting ssl = on if SSL is not compiled in.Peter Eisentraut
2005-12-28Remove silly use of DLLIMPORT.Tom Lane
2005-12-23Wups, fat-fingered the calculation the first time. Update comment inTom Lane
postgresql.conf.sample too.
2005-12-23Add quotes around search_path "$user" so that SHOW output can be used inBruce Momjian
SET.
2005-12-20Teach planner how to rearrange join order for some classes of OUTER JOIN.Tom Lane
Per my recent proposal. I ended up basing the implementation on the existing mechanism for enforcing valid join orders of IN joins --- the rules for valid outer-join orders are somewhat similar.
2005-11-22Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian
comment line where output as too long, and update typedefs for /lib directory. Also fix case where identifiers were used as variable names in the backend, but as typedefs in ecpg (favor the backend for indenting). Backpatch to 8.1.X.
2005-11-17Make SQL arrays support null elements. This commit fixes the core arrayTom Lane
functionality, but I still need to make another pass looking at places that incidentally use arrays (such as ACL manipulation) to make sure they are null-safe. Contrib needs work too. I have not changed the behaviors that are still under discussion about array comparison and what to do with lower bounds.
2005-11-10add missing quote mark to ident_file sample line - per Hiroshi SaitoAndrew Dunstan
2005-11-09Fix misspelling of 'listen_addresses', per Devrim.Tom Lane
2005-11-05Repair an error introduced by log_line_prefix patch: it is not acceptableTom Lane
to assume that the string pointer passed to set_ps_display is good forever. There's no need to anyway since ps_status.c itself saves the string, and we already had an API (get_ps_display) to return it. I believe this explains Jim Nasby's report of intermittent crashes in elog.c when %i format code is in use in log_line_prefix. While at it, repair a previously unnoticed problem: on some platforms such as Darwin, the string returned by get_ps_display was blank-padded to the maximum length, meaning that lock.c's attempt to append " waiting" to it never worked.
2005-11-04Improve description of constraint_exclusion variable.Tom Lane
2005-11-04Fix logical error in option description.Peter Eisentraut
2005-11-03Rename the members of CommandDest enum so they don't collide with other uses ofAlvaro Herrera
those names. (Debug and None were pretty bad names anyway.) I hope I catched all uses of the names in comments too.
2005-10-29Message correctionsPeter Eisentraut
2005-10-22minor code cleanup - replace useless struct timezone argument toAndrew Dunstan
gettimeofday with NULL in a few places, making it consistent with usage elsewhere.
2005-10-20Postpone pg_timezone_initialize() until after creation of postmaster.pid,Tom Lane
since it can take a fair amount of time and this can confuse boot scripts that expect postmaster.pid to appear quickly. Move initialization of SSL library and preloaded libraries to after that point, too, just for luck. Per reports from Tony Caduto and others.
2005-10-16Add space after description.Bruce Momjian
Euler Taveira de Oliveira
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-10-14Fix syslog bug: if any messages are emitted to write_syslog beforeTom Lane
the facility has been set, the facility gets set to LOCAL0 and cannot be changed later. This seems reasonably plausible to happen, particularly at higher debug log levels, though I am not certain it explains Han Holl's recent report. Easiest fix is to teach the code how to change the value on-the-fly, which is nicer anyway. I made the settings PGC_SIGHUP to conform with log_destination.
2005-10-08Fix up grammar in variable description string.Tom Lane
2005-10-08Fix Kerberos authentication in wake of virtual-hosts changes --- needTom Lane
to call krb5_sname_to_principal() always. Also, use krb_srvname rather than the hardwired string 'postgres' as the appl_version string in the krb5_sendauth/recvauth calls, to avoid breaking compatibility with PG 8.0. Magnus Hagander
2005-10-03Add a trace_sort option to help with measuring resource usage of externalTom Lane
sort operations. Per recent discussion. Simon Riggs and Tom Lane.
2005-10-03Separate out the VacRUsage stuff as an independent module, in preparationTom Lane
for using it for other things besides VACUUM.
2005-09-24Clean up possibly-uninitialized-variable warnings reported by gcc 4.x.Tom Lane
2005-09-21Fix postgresql.conf lexer to accept doubled single quotes in literalTom Lane
strings. This is consistent with SQL conventions, and since Bruce already changed initdb in a way that assumed it worked like this, seems we'd better make it work like this.
2005-09-20autovacuum setting false -> off, for consistencyBruce Momjian
2005-09-12Tweak TCP-keepalive code so that an invalid setting doesn't cause usTom Lane
to drop connections unceremoniously. Also some other marginal cleanups: don't query getsockopt() repeatedly if it fails, and avoid having the apparent definition of struct Port depend on which system headers you might have included or not. Oliver Jowett and Tom Lane.
2005-09-02Fix the spelling.Tom Lane
2005-09-02Update listen_addresses description.Bruce Momjian
Darcy Buskermolen
2005-08-30Update documentation about shared memory sizing to reflect currentTom Lane
reality.
2005-08-29Reduce default value of max_prepared_transactions from 50 to 5. ThisTom Lane
saves nearly 700kB in the default shared memory segment size, which seems worthwhile, and it is a feature that many users won't use anyway. Per Heikki's argument, there is no point in a compromise value --- those who are using 2PC at all will probably want it at least equal to max_connections. But we can't set it to zero by default without breaking the prepared_xacts regression test.
2005-08-22enable_constraint_exclusion => constraint_exclusionBruce Momjian
Also improve wording.
2005-08-21Minor GUC cleanups: document krb_server_hostname and custom_variable_classesTom Lane
in postgresql.conf.sample, mark custom_variable_classes as SIGHUP not POSTMASTER to agree with the documentation (I can't see a reason it has to be POSTMASTER so I think the docs are right).
2005-08-20Convert the arithmetic for shared memory size calculation from 'int'Tom Lane
to 'Size' (that is, size_t), and install overflow detection checks in it. This allows us to remove the former arbitrary restrictions on NBuffers etc. It won't make any difference in a 32-bit machine, but in a 64-bit machine you could theoretically have terabytes of shared buffers. (How efficiently we could manage 'em remains to be seen.) Similarly, num_temp_buffers, work_mem, and maintenance_work_mem can be set above 2Gb on a 64-bit machine. Original patch from Koichi Suzuki, additional work by moi.
2005-08-19Fix LRU/ALL description mismatch for GUC parameter.Bruce Momjian
2005-08-19Consistently align comments in postgresql.conf, move some slightly toBruce Momjian
the right to stand out.
2005-08-15Clean up some stray remaining references to pg_shadow, pg_user, pg_group.Tom Lane
2005-08-14Change standard_compliant_strings to standard_conforming_strings.Peter Eisentraut
2005-08-11Autovacuum loose end mop-up. Provide autovacuum-specific vacuum costTom Lane
delay and limit, both as global GUCs and as table-specific entries in pg_autovacuum. stats_reset_on_server_start is now OFF by default, but a reset is forced if we did WAL replay. XID-wrap vacuums do not ANALYZE, but do FREEZE if it's a template database. Alvaro Herrera
2005-08-09Update postgresql.conf to show default ordering for wal_sync_method.Bruce Momjian
2005-07-30Add GUC variables to control keep-alive times for idle, interval, andBruce Momjian
count. Oliver Jowett
2005-07-29Clean up a number of autovacuum loose ends. Make the stats collectorTom Lane
track shared relations in a separate hashtable, so that operations done from different databases are counted correctly. Add proper support for anti-XID-wraparound vacuuming, even in databases that are never connected to and so have no stats entries. Miscellaneous other bug fixes. Alvaro Herrera, some additional fixes by Tom Lane.