summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-08-08Fix compiler warning in the proper way.Bruce Momjian
2004-08-08Supress warning about zero-length format string.Bruce Momjian
2004-08-08Allow libpgport to call memory allocation routines even thoughBruce Momjian
CurrentMemoryContext is DLLIMPORT on Win32. Work around that by creating stubs in the backend for palloc/pstrdup. Also fix pg_dumpall to do proper quoting on Win32.
2004-08-08More Win32 zic build cleanups now that we have symlinks, it needs help.Bruce Momjian
2004-08-08Adjust defines to be consistent.Bruce Momjian
2004-08-08Tighened up syntax checking of array input processing considerably. Junk thatJoe Conway
was previously allowed in odd places with odd results now causes an ERROR. Also changed behavior with respect to whitespace -- trailing whitespace is now ignored as well as leading whitespace (which has always been ignored). Documentation updated to reflect change in whitespace handling. Also some refactoring to what I believe is a more sensible order of several paragraphs.
2004-08-08Another zic cleanup .Bruce Momjian
2004-08-08Link in dirmod specially for zic so it works on Win32.Bruce Momjian
2004-08-08Remove xstrdup and friends who were only called once. Replace withBruce Momjian
#ifdef calls.
2004-08-08Add a comment about why we always replay backup blocks from WAL.Tom Lane
2004-08-08Fix Win32 pg_dumpall, with help from Claudio.Bruce Momjian
2004-08-08Improve comment.Bruce Momjian
2004-08-08Fix comment.Bruce Momjian
2004-08-08Fixups for Win32 symlinks.Bruce Momjian
2004-08-07The attached patch implements a symlink for win32 using junctions, andBruce Momjian
uses that for win32 tablespaces. Andreas Pflug
2004-08-07Remove bogus trailing dot from eventlog output, per Andreas.Tom Lane
Clean up README file a bit.
2004-08-07Don't try to rewrite NEW references in a utility statement in a rule.Tom Lane
There won't be any, and in fact there won't even be an RTE for NEW, which was leading to a core dump in CVS tip. 7.4 and earlier manage not to crash when applying ResolveNew in this scenario, but I think it was just good fortune that they didn't. Per report from Bernd Helmle.
2004-08-07Ignore trailing spaces in psql \h.Bruce Momjian
Greg Sabino Mullane
2004-08-07Vacuum delay activated by default.Jan Wieck
Jan
2004-08-07Document delay as 0, per Matthew T. O'ConnorBruce Momjian
2004-08-06Arrange for proper newline termination of syslogger's own messages,Tom Lane
per Andreas.
2004-08-06Revert badly-broken patch to dump comments on composite-type columns.Tom Lane
2004-08-06I have noticed that the latex format in psql has some bugs:Bruce Momjian
o "_" is not escaped, and causes TeX to abort, thinking it's a subscript outside of maths mode. Most of my table and field names use underscores, so this is a really nasty one. o The column count is calculated using the contents of opt_align. But opt_align has one extra element, and so it's always one too many. I changed it to count the column headings, like all the other output formats. There may be a bug in computing opt_align that this patch does not address, but I'm not yet familiar enough with the psql source to fix this as well. o The line drawing rules for each border setting (0-3) and expanded mode didn't always match the documented behaviour and what other formats (e.g. aligned) did. I made it as conformant as possible, and also tidied the alignment of the first line of the footer, which was incorrectly indented. Roger Leigh
2004-08-06Use one, not zero, as the default lower bound for arrays of AclItems.Tom Lane
This avoids changing the displayed appearance of ACL columns now that array_out decorates its output with bounds information when the lower bound isn't one. Per gripe from Gaetano Mendola. Note that I did not force initdb for this, although any database initdb'd in the last couple of days is going to have some problems.
2004-08-06Add _O_TEXT option to dup2 call on Windows, to ensure redirected postmasterTom Lane
stderr is in text mode. Per Andreas.
2004-08-06Fix several small Windows compatibility issues, per Andreas.Tom Lane
2004-08-06Rename vacuum_cost_naptime to vacuum_cost_delay, with agreement from Jan.Bruce Momjian
2004-08-05Create a built-in log rotation program, so that we no longer have toTom Lane
recommend that people go get Apache's rotatelogs program. Additional benefits are that configuration is done through GUC, rather than externally, and that the postmaster can monitor the log rotator and restart it after failure (though we certainly hope that won't happen often). Andreas Pflug, some rework by Tom Lane.
2004-08-05Translation updatesDennis Bjorklund
2004-08-05Translation updatesDennis Bjorklund
2004-08-05Require that array literals produce "rectangular" arrays, i.e. all theJoe Conway
subarrays of a given dimension have the same number of elements/subarrays. Also repair a longstanding undocumented (as far as I can see) ability to explicitly set array bounds in the array literal syntax. It now can deal properly with negative array indicies. Modify array_out so that arrays with non-standard lower bounds (i.e. not 1) are output with the expicit dimension syntax. This fixes a longstanding issue whereby arrays with non-default lower bounds had them changed to default after a dump/reload cycle. Modify regression tests and docs to suit, and add some minimal documentation regarding the explicit dimension syntax.
2004-08-05Restore behavior of --pgxs option to that of the original shell script.Joe Conway
2004-08-05Move include for Python.h above postgres.h to eliminate compiler warning.Joe Conway
2004-08-04Use gettext_noop() to mark strings. errmsg() perform theDennis Bjorklund
real gettext() later on, so it was called twice before.
2004-08-04Label CVS tip as 8.0devel instead of 7.5devel. Adjust various commentsTom Lane
and documentation to reference 8.0 instead of 7.5.
2004-08-04Add LOG_NOWAIT flag to openlog() call, per my note of 2004-06-24.Tom Lane
2004-08-04Fix silly thinko in ALTER COLUMN TYPE. Check for finding expectedTom Lane
dependency was looking at wrong columns and so would always fail. Was not exposed by regression tests because we are only testing cases involving built-in (pinned) types and so no actual dependency entry exists to be removed.
2004-08-04Update oidjoins regression test to match current catalog structure.Tom Lane
2004-08-04Tweak postmaster code to avoid double reporting when bgwriter crashes.Tom Lane
2004-08-04record_out and friends need to cope with dropped columns in the rowTom Lane
datatype. Per example from Gaetano Mendola, 2004-07-25.
2004-08-04Dump comments on columns of composite types.Tom Lane
Instead of putting all the OWNER TO commands at the end, it dumps then after each object. This is WAY more readable and nice. ACLs are still at the end. Christopher Kings-Lynne
2004-08-04Translation updatesDennis Bjorklund
2004-08-04Make use of backup label/history files to control recovery properly.Tom Lane
2004-08-04Fix typo in comment.Tom Lane
2004-08-04Add some strings for translation and remove some cut'n'pasteDennis Bjorklund
that makes it impossible to translate to other languages.
2004-08-04Fix syntax error by adding a space.Bruce Momjian
2004-08-03Add functions pg_start_backup, pg_stop_backup to create backup labelTom Lane
and history files as per recent discussion. While at it, remove pg_terminate_backend, since we have decided we do not have time during this release cycle to address the reliability concerns it creates. Split the 'Miscellaneous Functions' documentation section into 'System Information Functions' and 'System Administration Functions', which hopefully will draw the eyes of those looking for such things.
2004-08-03Fix misplacement of savepointLevel test, per report from Chris K-L.Tom Lane
2004-08-03Translation updatePeter Eisentraut
2004-08-02Fix not-quite-right Assertion. Did not work at all in extended-queryTom Lane
mode (per complaint from Kris Jurka) and it was only by chance that it didn't fail in simple-query mode. A COMMIT or ROLLBACK has to be executed by a portal, therefore it's wrong to suppose that there aren't any live portals at CleanupTransaction time.