summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-09-02Yet another place where someone was being careless about the argumentsTom Lane
of <ctype.h> macros.
2004-09-02Spelling correction, per Greg Mullane.Tom Lane
2004-09-02Fix getrusage() emulation on Windows. Magnus HaganderTom Lane
2004-09-02FAQ_HPUX updates from Shinji Teragaito.Tom Lane
2004-09-02Cope with recent HPUX versions providing isfinite() instead of finite().Tom Lane
2004-09-02Add s_lock support for HPUX on IA64, per Shinji Teragaito.Tom Lane
2004-09-02Remove useless variable.Tom Lane
2004-09-02Use $PATH_SEPARATOR like the rest of the autoconf code, instead ofTom Lane
hardwiring IFS=: when searching paths.
2004-09-02Remove line specifying Andreas as author.Bruce Momjian
2004-09-02Remove pg_config_paths.h from libpq *.mak builds so later MinGW buildsBruce Momjian
will succeed.
2004-09-02Add:Bruce Momjian
> * Consider using hash buckets to do DISTINCT, rather than sorting > > This would be beneficial when there are few distinct values.
2004-09-02Back out timezone detection patch. Tom already applied it.Bruce Momjian
2004-09-02This patch attempts to fix the issue with localized timezones onBruce Momjian
Windows. Recap: When running on a localized windows version, the timezone name returned is also localized, and therefor does not match our lookup table. Solution: The registry contains both the name of the timezone in english and the localized name. The patch adds code to scan the registry for the localized name and gets the english name from that, and then rescans the table. I have tested this on a Swedish WinXP, and it works without problems. The registry layout is the same in Win2k, but I haven't specifically tested it. It's also the same on different languages but again only Swedish is tested. Magnus Hagander
2004-09-02The current implementation of dbsize doesn't handle tables inBruce Momjian
tablespaces correctly, and is quite restricted on objects covered (only tables and databases, but not tablespaces and indexes). The attached patch contributes: - database_size(name) - relation_size(text) These are the well-known functions, tablespace-aware. - pg_tablespace_size(oid) - pg_database_size(oid) - pg_relation_size(oid) Tablespace-aware implementations, used by the upper functions. pg_relation_size will report sizes of indexes as well. - pg_size_pretty(bigint) Formatting of sizes, to display '146MB' instead of '152885668' Andreas Pflug
2004-09-02Remove obsolete comment.Tom Lane
2004-09-01Tweak prettyprinting rules for saner indenting of UNION, INTERSECT,Tom Lane
EXCEPT constructs.
2004-09-01Fix bcc to compile libpq by creating include file for path.c.Bruce Momjian
2004-09-01Realign libpq and psql for need for path.c under Win32 VC and BCC.Bruce Momjian
2004-09-01Back out Cygwin timezone change until we have a more global solution.Bruce Momjian
2004-09-01Fix mistaken comment.Tom Lane
2004-09-01Whack Wisconsin benchmark around until it actually works again.Tom Lane
It's still useless because it tests a standalone backend, but at least the bit rot is repaired.
2004-09-01Add code to be able to match the timezone name on localized WindowsTom Lane
systems. Magnus Hagander.
2004-09-01Remove a stray reference to sequences as having tablespaces.Tom Lane
2004-09-01Translation updatesDennis Bjorklund
2004-09-01Add a note about the difference between Postgres' treatment of the rightsTom Lane
of an object owner and the SQL spec's treatment of these rights.
2004-09-01Cast _timezone to int from time_t for Cygwin.Bruce Momjian
2004-09-01Add index mention:Bruce Momjian
<P>In pre-8.0 releases, indexes often can not be used unless the data types exactly match the index's column types. This is particularly true of int2, int8, and numeric column indexes.</P>
2004-09-01src/bin/psql/tab-complete.c =~ s/CONVERSATION/CONVERSION/;Bruce Momjian
Greg Sabino Mullane
2004-08-31needs_toast_table() should ignore dropped columns.Tom Lane
2004-08-31Code review for recent changes in guc-file.l. Avoid multiple frees,Tom Lane
use of already-freed strings, other silliness. Also fix reporting of config file syntax errors so that it actually works reasonably well (eg, points at the correct line). Use palloc instead of malloc for temporary storage to reduce code clutter.
2004-08-31Code review for various recent GUC hacking. Don't elog(ERROR) whenTom Lane
not supposed to (fixes problem with postmaster aborting due to mistaken postgresql.conf change); don't call superuser() when not inside a transaction (fixes coredump when, eg, try to set log_statement from PGOPTIONS); some message style guidelines enforcement.
2004-08-31Fix unintended assignment of sequences to the containing schema'sTom Lane
default tablespace --- they should always go in the database's default tablespace. Adjust heap_create() API so that it is passed the relkind to make this easier; should simplify any further tweaking of the same sort.
2004-08-31FlushRelationBuffers was also being a bit cavalier about whether theTom Lane
relation is already opened by smgr.
2004-08-31copy_relation_data was mistakenly assuming that the source relationTom Lane
would always be already open at the smgr level. Per bug report from Fabien Coelho.
2004-08-31Define lstat with parameters, rather than just redefining the symbol.Bruce Momjian
2004-08-31Fix typo in lstat() macro exposed by new tablespace code.Bruce Momjian
2004-08-31Replace log_filename_prefix with more general log_filename parameter,Tom Lane
to allow DBA to choose the form in which log filenames reflect the current time. Also allow for truncating instead of appending to pre-existing files --- this is convenient when the log filename pattern rewrites the same names cyclically. Per Ed L.
2004-08-31tag configure beta2REL8_0_0BETA2PostgreSQL Daemon
2004-08-30Improve spinlock selftest to make it able to detect misdeclaration ofTom Lane
the slock_t datatype (ie, declared type smaller than what the hardware TAS instruction needs).
2004-08-30slock_t must be int not char for MIPS. 7.4 got this right, but theTom Lane
info was apparently mistranscribed in s_lock code rearrangement.
2004-08-30Avoid ambiguity, as per suggestion from Peter Stricker.Tom Lane
2004-08-30Rather than referring to src/tutorial/README, put the build instructionsTom Lane
for the tutorial files right here.
2004-08-30Fix obviously-utterly-untested noTocComments code.Tom Lane
2004-08-30Ensure that the remainder of the current pg_clog page is zeroed duringTom Lane
startup, just to be sure that there's no leftover junk there.
2004-08-30Fix failure to advance nextXID beyond subtransactions whose XIDs appearTom Lane
only within COMMIT or ABORT records.
2004-08-30Remove item because it is on the open item list:Bruce Momjian
< * Fix oid2name and dbsize for tablespaces
2004-08-30Tweak md.c logic to cope with the situation where WAL replay tries toTom Lane
write into a high-numbered segment of a relation that was later deleted. We need to temporarily recreate missing segment files, instead of failing.
2004-08-30Dept. of second thoughts: it'd be a good idea to flush buffersTom Lane
during replay of CREATE DATABASE as well as the first time around. Else it's possible that the copy operation will copy obsolete blocks. We are still a long way from guaranteeing anything about using a recently-written database as a CREATE template, but this seems needed to ensure the existing behavior holds up during replay.
2004-08-30Add Win32 service capability to pg_autovacuum.Bruce Momjian
Dave Page
2004-08-30Another pgindent run with lib typedefs added.Bruce Momjian