summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-10-07Improve pgindent processing of comment after 'else'.Bruce Momjian
Improve comment of pg_dump Win32 link workaround.
2004-10-07Improve comment after 'else' handling of pgindent.Bruce Momjian
2004-10-07Allow the spinlock test to be compiled successfully in a vpath build.Neil Conway
2004-10-07XOR process PID into a backend's initial random seed, to ensure thatTom Lane
different backends get a reasonably wide set of initial seeds even if gettimeofday returns tv_usec values with only a few bits of precision. Per recent discussion.
2004-10-06Document what the "rep; nop" x86 assembler sequence is actually equivalentNeil Conway
to, and what it is intended to do.
2004-10-06Capitalize some SQL keywords the previous commit missed, for consistency.Neil Conway
2004-10-06Say "history is not supported" and remove "on this platform" for lack ofBruce Momjian
readline.
2004-10-06Suppress psql \s help display for platforms like Win32 that don'tBruce Momjian
typically install witn readline, and throw an error if they try to access it.
2004-10-06Add mention of win32ver.rc for update for minor release.Bruce Momjian
2004-10-06Fix improper defines for uid_t and gid_t. Had them backwards.Bruce Momjian
2004-10-06Uppercase SQL keywords in query for clarity.Bruce Momjian
2004-10-06This simple patch fixes a typo, ensure pg_config is removed in win32Bruce Momjian
and correct some splitted message mistake. Euler Taveira de Oliveira
2004-10-06Fix pg_dumpall to use double-quote for Win32 arguments.Bruce Momjian
Luiz K. Matsumura
2004-10-06The Win32 (mingw) build of libpq seems to have lost it's SSL libs fromBruce Momjian
the link step resulting in a build failure. The attached patch fixes that. Dave Page
2004-10-06Use #define instead of typedef for plperl because perl definesBruce Momjian
uid_t/gid_t too.
2004-10-06Update win32ver.rc to 8,0,000,000. Mention it needs updating inBruce Momjian
RELEASE_CHANGES.
2004-10-06Improve consistency of win32 version sed script.Bruce Momjian
2004-10-06Fix for Win32 file version sed macro, per report from Dave Page.Bruce Momjian
2004-10-06Here is a patch to fix win32 ssl builds. Summary of changes:Bruce Momjian
* Links with -leay32 and -lssleay32 instead of crypto and ssl. On win32, "crypto and ssl" is only used for static linking. * Initializes SSL in the backend and not just in the postmaster. We cannot pass the SSL context from the postmaster through the parameter file, because it contains function pointers. * Split one error check in be-secure.c. Previously we could not tell which of three calls actually failed. The previous code also returned incorrect error messages if SSL_accept() failed - that function needs to use SSL_get_error() on the return value, can't just use the error queue. * Since the win32 implementation uses non-blocking sockets "behind the scenes" in order to deliver signals correctly, implements a version of SSL_accept() that can handle this. Also, add a wait function in case SSL_read or SSL_write() needs more data. Magnus Hagander
2004-10-06Allow plpython to build on Win32.Bruce Momjian
Magnus Hagander
2004-10-06Adjustment to test on unix domain socket variable for pg_hba.confBruce Momjian
default settings, rather than just Win32.
2004-10-06Remove pg_hba.conf 'local' line for Win32 because it doesn't support unix domainBruce Momjian
connections. Andrew Dunstan
2004-10-06please find attached an alternate submission which addresses open itemBruce Momjian
"make pgxs install by default". It is up to the committers to chose. (1) there is only one "install" target. no more "install-all-headers". it simplifies/changes several makefiles. (2) the documentation reflects the change. (3) a minor fix on pgxs to use a nicer patch without a double slash. Fabien Coelho
2004-10-06Slightly rearrange psql startup code so that we read psqlrc before printingNeil Conway
the startup banner. This allows "\set QUIET on" in psqlrc to do what the user probably intended. Patch from Sean Chittenden, editorializing from Neil Conway.
2004-10-05Add Win32 version info to client binaries.Bruce Momjian
Magnus Hagander
2004-10-05Add distclean target to pgevent.Bruce Momjian
2004-10-05Another tightening of Win32 typedefs.Bruce Momjian
2004-10-05Fix typo in recent Win32 typedef change.Bruce Momjian
2004-10-05Remove unused Win32 defines, convert them to typdefs, per suggestionBruce Momjian
from Peter.
2004-10-05'::' is no longer interpreted as a variable in a prepare statement.Michael Meskes
2004-10-05License cleanup: crypt.c and qsort.c to latest NetBSD CVS sources, toNeil Conway
pickup license clarification (3-clause BSD is now used). Add license terms to memcmp.c (also from NetBSD), which previously had none. Finally, pickup an upstream fix to crypt.c (const-ify some arrays).
2004-10-04Remove arithmetic operators on the 1-byte-char datatype, as per proposalsTom Lane
made several times in the past. Add coercion functions between "char" and integer so that a workaround is possible if needed. Initdb forced.
2004-10-04Correct the volatility labeling of ten timestamp-related functions,Tom Lane
per discussion from Friday. initdb not forced in this commit but I intend to do that later.
2004-10-04PortalRun must guard against the possibility that the portal it'sTom Lane
running contains VACUUM or a similar command that will internally start and commit transactions. In such a case, the original caller values of CurrentMemoryContext and CurrentResourceOwner will point to objects that will be destroyed by the internal commit. We must restore these pointers to point to the newly-manufactured transaction context and resource owner, rather than possibly pointing to deleted memory. Also tweak xact.c so that AbortTransaction and AbortSubTransaction forcibly restore a sane value for CurrentResourceOwner, much as they have always done for CurrentMemoryContext. I'm not certain this is necessary but I'm feeling paranoid today. Responds to Sean Chittenden's bug report of 4-Oct.
2004-10-04Make sure no libs use libpgport by removing it from the link line.Bruce Momjian
2004-10-04Fix MinGW link failure with new libpgport processing.Bruce Momjian
2004-10-04Readd -DFRONTEND to client makefiles because it still affects win32.hBruce Momjian
defines.
2004-10-04Fix warnings from crypt.c compile.Bruce Momjian
2004-10-04Comment out unused variable.Bruce Momjian
2004-10-04Suppress getppid test on WIN32, per Dave Page.Tom Lane
2004-10-04Detect overflow in integer arithmetic operators (integer, smallint, andTom Lane
bigint variants). Clean up some inconsistencies in error message wording. Fix scanint8 to allow trailing whitespace in INT64_MIN case. Update int8-exp-three-digits.out, which seems to have been ignored by the last couple of people to modify the int8 regression test, and remove int8-exp-three-digits-win32.out which is thereby exposed as redundant.
2004-10-04Make libpgport be front-end only and make libpgport_srv be a backendBruce Momjian
library that uses palloc, ereport, etc. This simplifies the makefiles for client applications.
2004-10-03Translation updatePeter Eisentraut
2004-10-03Translation updatesPeter Eisentraut
2004-10-03Add regression test inspired by Sebastian Böck.Tom Lane
2004-10-02Clean up handling of inherited-table update queries, per bug reportTom Lane
from Sebastian Böck. The fix involves being more consistent about when rangetable entries are copied or modified. Someday we really need to fix this stuff to not scribble on its input data structures in the first place...
2004-10-02Update length from 75 to 79.Bruce Momjian
2004-10-01Convert pg_stat_get_backend_idset to use the existing SRF support.Tom Lane
This seems the cleanest way of fixing its lack of a shutdown callback, which was preventing it from working correctly in a query that didn't run it to completion. Per bug report from Szima GÄbor.
2004-10-01fmgr_security_definer had better do a PG_TRY to ensure the outer useridTom Lane
is restored on error exit.
2004-10-01Adjust postmaster to recognize that a lockfile containing its parent's PIDTom Lane
must be stale. Tweak example startup scripts to not use pg_ctl but launch the postmaster directly, thereby ensuring that only the postmaster's direct parent shell will be a postgres-owned process. In combination these should fix the longstanding problem of the postmaster sometimes refusing to start during reboot because it thinks the old lockfile is not stale.