summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-08-17Add comment about portability function name inconsistency.Bruce Momjian
2004-08-17Fix linking problem when enabling thread safety on Darwin: uninitializedTom Lane
global variables are problematic on this platform. Simplest solution seems to be to initialize pthread key variable to 0. Also, rename this variable and check_sigpipe_handler to something involving "pq" to avoid gratuitous pollution of application namespace.
2004-08-17Add DLLIMPORT for PostGIS.Bruce Momjian
2004-08-17Move io.h include higher in the file so it doesn't conflict withBruce Momjian
rename/unlink defined later. Problem exists on MS VC. Andrew Francis
2004-08-16Add trivial NULL statement to plpgsql, for Oracle compatibility.Tom Lane
2004-08-16Throw error if initdb -L is not an absolute path.Bruce Momjian
2004-08-16Fix for adding \n for zero-length win32 read_pipe returnBruce Momjian
2004-08-16Mark server_encoding and integer_datetimes as GUC_REPORT, per previousTom Lane
proposals by Oliver Jowett. Update documentation.
2004-08-16Clarify need for \r\n -> \n translation in version checking code.Bruce Momjian
2004-08-15Dept. of further reflection: I looked around to see if any other callersTom Lane
of XLogInsert had the same sort of checkpoint interlock problem as RecordTransactionCommit, and indeed I found some. Btree index build and ALTER TABLE SET TABLESPACE write data outside the friendly confines of the buffer manager, and therefore they have to take their own responsibility for checkpoint interlock. The easiest solution seems to be to force smgrimmedsync at the end of the index build or table copy, even when the operation is being WAL-logged. This is sufficient since the new index or table will be of interest to no one if we don't get as far as committing the current transaction.
2004-08-15Xmin calculations should consider only top transaction IDs, andTom Lane
therefore starting with GetCurrentTransactionId is wrong. Fixes miscomputation of RecentGlobalXmin leading to bizarre behavior reported by Gavin Sherry.
2004-08-15Specify SA_NOCLDSTOP when enabling SIGCHLD, per suggestion fromTom Lane
Oliver Jowett.
2004-08-15Quote PERL expansion for Win32 path that might have spaces.Bruce Momjian
2004-08-14Translation updatesPeter Eisentraut
2004-08-13Fix psql's COPY support to deal with \r\n line endings.Tom Lane
Andrew Dunstan, some further hacking by Tom Lane.
2004-08-13Fix breakage with PUBLIC schema. Try to untwist the remarkably contortedTom Lane
logic a little bit.
2004-08-13Give a more specific error message for "you can't do that" error casesTom Lane
in plpgsql, particularly trying to begin/end/rollback a transaction.
2004-08-13New translationsPeter Eisentraut
2004-08-13Translation updatePeter Eisentraut
2004-08-13Translation updatesPeter Eisentraut
2004-08-13Fix core dumps, inability to count, etc associated with canonicalize_pathTom Lane
patches.
2004-08-13Change order of operations in ALTER TABLE SET TABLESPACE so that weTom Lane
don't hold an open file reference to the original table at the end. This is a good thing in any case, particularly so on Windows which cannot drop the table file otherwise.
2004-08-12Allow commas in BEGIN, START TRANSACTION, and SET TRANSACTION, as requiredTom Lane
by the SQL standard. For backwards compatibility, however, continue to accept the syntax without. Minor editorialization in the reference pages for these commands, too.
2004-08-12Allow optional SAVEPOINT keyword in RELEASE and ROLLBACK TO, for greaterTom Lane
compliance with SQL2003 spec syntax. Oliver Jowett
2004-08-12Cleanup Win32 COPY handling, and move archive examples to SGML.Bruce Momjian
2004-08-12Add mention of "WIN32" COPY.Bruce Momjian
2004-08-12Add make_native_path() because Win32 COPY is an internal CMD.EXE commandBruce Momjian
and doesn't process forward slashes in the same way as external commands. Quoting the first argument to COPY does not convert forward to backward slashes, but COPY does properly process quoted forward slashes in the second argument. Win32 COPY works with quoted forward slashes in the first argument only if the current directory is the same as the directory of the first argument.
2004-08-11Cause initdb to actually accept -s as intended, and fix some typos inTom Lane
a comment. Jon Jensen
2004-08-11Fix broken parsing of CREATE TABLE AS (looks like a mis-sync with mainTom Lane
parser).
2004-08-11Avoid crashing when restoring a saved GUC session_authorization valueTom Lane
that refers to a now-deleted userid. Per gripe from Chris Ochs.
2004-08-11Add PQserverVersion() to libpq to provide more-convenient access toTom Lane
the server version number. This commit also removes bogus DOS line endings from libpqddll.def. Greg Sabino Mullane
2004-08-11Work around broken strtod() that's present in many Solaris releases.Tom Lane
Thanks to Michael Fuhr for identifying the problem.
2004-08-11Fix function definition that somehow missed being ANSI-fied, and alignTom Lane
it with previous prototype to suppress complaints from picky compilers, per report from Scott Bailey. Also, remove substitute strerror definition --- not needed, since we link this with libpgport.
2004-08-11Allow compilation when CODESET is not defined (OpenBSD).Peter Eisentraut
2004-08-11Translation updatePeter Eisentraut
2004-08-11Add translation from 7.4 branch to head.Peter Eisentraut
2004-08-11Fix failure to guarantee that a checkpoint will write out pg_clog updatesTom Lane
for transaction commits that occurred just before the checkpoint. This is an EXTREMELY serious bug --- kudos to Satoshi Okada for creating a reproducible test case to prove its existence.
2004-08-10Set DYLD_LIBRARY_PATH so that 'make check' works without priorTom Lane
'make install' on OS X. Per suggestion from Adam Witney.
2004-08-10New translationPeter Eisentraut
2004-08-10Translation updatesPeter Eisentraut
2004-08-10Translation updatePeter Eisentraut
2004-08-10Translation updatesPeter Eisentraut
2004-08-10Translation updatePeter Eisentraut
2004-08-09syslogger.c needs <sys/time.h> on some platforms, per Greg Mullane.Tom Lane
2004-08-09Path-mangling logic was failing to account for paths containing mentionsTom Lane
of '.' or '..'. Extend canonicalize_path() to trim off trailing occurrences of these things, and use it to fix up paths where needed (which I think is only after places where we trim the last path component, but maybe some others will turn up). Fixes Josh's complaint that './initdb' does not work.
2004-08-09When expanding %p in archive_command or restore_command, translateTom Lane
slashes to backslashes #ifdef WIN32. This is to cope with the fact that Windows seems exceedingly unfriendly to slashes in shell commands, as per recent discussion.
2004-08-09Fix Win32 pg_dumpall check.REL8_0_0BETA1Bruce Momjian
2004-08-09Improve comment.Bruce Momjian
2004-08-09Stamp libpq.rc with 8.0 version.Bruce Momjian
2004-08-08Make listen_addresses be a comma-separated list instead of a space-separatedTom Lane
list. More consistent with our other list-containing GUC variables.