summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-04-29Synced parser and keyword list.Michael Meskes
2004-04-27Do thread testing from configure in a much cleaner fashion.Bruce Momjian
2004-04-27Add comments.Bruce Momjian
2004-04-27Use mktemp for temporary file names, per suggestion from Peter.Bruce Momjian
2004-04-27Move postgres.h to the top of the C file.Bruce Momjian
2004-04-26Fix subdir for thread test program.Bruce Momjian
2004-04-26Add $(X) for cross-compiling. Seems the mingw compiler running onBruce Momjian
FreeBSD doesn't add .EXE to links. Michiel Ephraim
2004-04-26Please find attached a small patch against current cvs head, so thatBruce Momjian
'information_schema' is considered a system schema by various pg_stat*_*_{tables,sequences} views. Fabien COELHO
2004-04-26Please find a attached a small patch that adds accessor functionsBruce Momjian
for "aclitem" so that it is not an opaque datatype. I needed these functions to browse aclitems from user land. I can load them when necessary, but it seems to me that these accessors for a backend type belong to the backend, so I submit them. Fabien Coelho
2004-04-26Translation updatesDennis Bjorklund
2004-04-26Unconditionally define:Bruce Momjian
-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS for all ports. It can't hurt if they are not supported, but it makes our job easier for porting. Should fix Darwin compile and other platforms without mucking with the thread detection code.
2004-04-26Clean tools/thread on make clean/distclean.Bruce Momjian
2004-04-26More thread error improvments.Bruce Momjian
2004-04-26More thread error message improvments.Bruce Momjian
2004-04-25Tiny assorted fixes: correct a typo in a comment in vacuumlazy.c, removeNeil Conway
some unused #include directives from bufmgr.c, and clarify comments in bufmgr.h and buf.h
2004-04-25Fix typo on thread lib name.Bruce Momjian
2004-04-25Make thread flags CFLAGS, not CPPFLAGS.Bruce Momjian
2004-04-25No need to use our standard libs for the thread test --- they might notBruce Momjian
be compiled yet.
2004-04-25Remove the last traces of Joe Hellerstein's "xfunc" optimization. PatchNeil Conway
from Alvaro Herrera. Also, removed lispsort.c, since it is no longer used.
2004-04-24Ensure getaddrinfo_all returns null result on failure.Tom Lane
2004-04-23Hook thread_test program run at the end of configure run.Bruce Momjian
Add test for cross-compiles that they have to run the thread_test program on the target machine.
2004-04-23Report error if thread-test is run without having threading enabled inBruce Momjian
configure.
2004-04-23Improve thread test program. Test only functions that need testing.Bruce Momjian
2004-04-23Add ceiling() as an alias for ceil(), and power() as an alias for pow().Neil Conway
Regression tests and documentation have both been updated. SQL2003 requires that both ceiling() and ceil() be present, so I have documented both spellings. SQL2003 doesn't mention pow() as far as I can see, so I decided to replace pow() with power() in the documentation: there is little reason to encourage the continued usage of a function that isn't compliant with the standard, given a standard-compliant alternative. RELEASE NOTES: should state that pow() is considered deprecated (although I don't see the need to ever remove it.)
2004-04-23Add new auto-detection of thread flags.Bruce Momjian
Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.
2004-04-23Fixed memory misusage in variable handling.Michael Meskes
2004-04-22Simplify thread test program.Bruce Momjian
2004-04-22Make psql's \d+ command indicate whether the table in questionNeil Conway
contains OIDs. Also, minor documentation improvements to the psql reference page.
2004-04-22Rename global psql startup file to psqlrc.sample.Bruce Momjian
2004-04-22Fix filename mention in psqlrc.sample file.Bruce Momjian
2004-04-22Make LocalRefCount and PrivateRefCount arrays of int32, rather than long.Neil Conway
This saves a small amount of per-backend memory for LP64 machines.
2004-04-22Per discussion earlier today, here is a fix that lets ereport() on win32Bruce Momjian
report socket errors. Magnus Hagander
2004-04-22This patch makes the EXECUTE command's completion tag return theBruce Momjian
completion tag of the actual statement executed. This allows the correct update count to be returned for UPDATE/INSERT/DELETE statements. Kris Jurka
2004-04-22Please find attached a small patch so that "pg_restore" ignores some sqlBruce Momjian
errors. This is the second submission, which integrates Tom comments about localisation and exit code. I also added some comments about one sql command which is not ignored. Fabien COELHO
2004-04-22Add global psql config file, psql.rc.sample.Bruce Momjian
2004-04-21More thread test program improvements.Bruce Momjian
2004-04-21Improve thread test program to show if non-*_r functions are even called.Bruce Momjian
2004-04-21Tweak indexscan and seqscan code to arrange that steps from one page toTom Lane
the next are handled by ReleaseAndReadBuffer rather than separate ReleaseBuffer and ReadBuffer calls. This cuts the number of acquisitions of the BufMgrLock by a factor of 2 (possibly more, if an indexscan happens to pull successive rows from the same heap page). Unfortunately this doesn't seem enough to get us out of the recently discussed context-switch storm problem, but it's surely worth doing anyway.
2004-04-21Another round of code cleanup on bufmgr. Use BM_VALID flag to keep trackTom Lane
of whether we have successfully read data into a buffer; this makes the error behavior a bit more transparent (IMHO anyway), and also makes it work correctly for local buffers which don't use Start/TerminateBufferIO. Collapse three separate functions for writing a shared buffer into one. This overlaps a bit with cleanups that Neil proposed awhile back, but seems not to have committed yet.
2004-04-21Change COPY CSV keyword to be:Bruce Momjian
FORCE QUOTE to force quotes FORCE NOT NULL to quote null input values
2004-04-20Add NetBSD thread compile flags.Bruce Momjian
2004-04-20Remove pg_encoding. Not needed anymore since we have an initdb in C.Bruce Momjian
2004-04-20Remove all of the libpgtcl and pgtclsh files, including all references toPostgreSQL Daemon
them within the various makefiles with_tcl is still required for the src/pl/tcl language
2004-04-19Code review for ARC patch. Eliminate static variables, improve handlingTom Lane
of VACUUM cases so that VACUUM requests don't affect the ARC state at all, avoid corner case where BufferSync would uselessly rewrite a buffer that no longer contains the page that was to be flushed. Make some minor other cleanups in and around the bufmgr as well, such as moving PinBuffer and UnpinBuffer into bufmgr.c where they really belong.
2004-04-19Prevent doubling of escapes when not in quote mode for CSV.Bruce Momjian
2004-04-19Remove debug code that acidentally got into CVS from previous commit.Bruce Momjian
2004-04-19Fix for BEGIN with ISOLATION/READONLY clauses.Bruce Momjian
Fix for code originally added for 7.5.
2004-04-19* Most changes are to fix warnings issued when compiling win32Bruce Momjian
* removed a few redundant defines * get_user_name safe under win32 * rationalized pipe read EOF for win32 (UPDATED PATCH USED) * changed all backend instances of sleep() to pg_usleep - except for the SLEEP_ON_ASSERT in assert.c, as it would exceed a 32-bit long [Note to patcher: If a SLEEP_ON_ASSERT of 2000 seconds is acceptable, please replace with pg_usleep(2000000000L)] I added a comment to that part of the code: /* * It would be nice to use pg_usleep() here, but only does 2000 sec * or 33 minutes, which seems too short. */ sleep(1000000); Claudio Natoli
2004-04-19Complete TODO item:Bruce Momjian
o -Allow dump/load of CSV format This adds new keywords to COPY and \copy: CSV - enable CSV mode (comma separated variable) QUOTE - specify quote character ESCAPE - specify escape character FORCE - force quoting of specified column LITERAL - suppress null comparison for columns Doc changes included. Regression updates coming from Andrew.
2004-04-18Tweak findTargetlistEntry so that bare names occurring in GROUP BY clausesTom Lane
are sought first as local FROM columns, then as local SELECT-list aliases, and finally as outer FROM columns; the former behavior made outer FROM columns take precedence over aliases. This does not change spec conformance because SQL99 allows only the first case anyway, and it seems more useful and self-consistent. Per gripe from Dennis Bjorklund 2004-04-05.