aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Mark a few functions as static or NOT_USED.Bruce Momjian2006-07-18
|
* Make pg_regress a tad simpler and more general-purpose by removing itsTom Lane2006-07-18
| | | | | | | | code to forcibly drop regressuser[1-4] and regressgroup[1-2]. Instead, let the privileges.sql test do that for itself (this is made easy by the recent addition of DROP ROLE IF EXISTS). Per a recent patch proposed by Joachim Wieland --- the rest of his patch is superseded by the rewrite into C, but this is a good idea we should adopt.
* Mention dependency problems caused by pgrminclude on include files.Bruce Momjian2006-07-17
|
* Improve psql's \df slash command to include the argument names and modesNeil Conway2006-07-17
| | | | | (OUT or INOUT) of the function. Patch from David Fetter, editorialization by Neil Conway.
* Include libpq/pqcomm.h to ensure we have correct knowledge ofTom Lane2006-07-16
| | | | HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN. Per results of pgcheckdefines.
* In a Windows backend, don't build src/port/pgsleep.c's version ofTom Lane2006-07-16
| | | | | | | | pg_usleep at all. Instead call the replacement function in port/win32/signal.c by that name. Avoids tricky macro-redefinition logic and suppresses a compiler warning; furthermore it ensures that no one can accidentally use the non-signal-aware version of pg_usleep in a Windows backend.
* Ensure that we retry rather than erroring out when send() or recv() returnTom Lane2006-07-16
| | | | | | | | | | | | EINTR; the stats code was failing to do this and so were a couple of places in the postmaster. The stats code assumed that recv() could not return EINTR if a preceding select() showed the socket to be read-ready, but this is demonstrably false with our Windows implementation of recv(), and it may not be the case on all Unix variants either. I think this explains the intermittent stats regression test failures we've been seeing, as well as reports of stats collector instability under high load on Windows. Backpatch as far as 8.0.
* Fix a few places where $Id$ and $Header$ CVS tags had crept into theTom Lane2006-07-16
| | | | source tree. They should all be $PostgreSQL$ of course.
* Fix lack of repeat-inclusion guard in win32 substitute sys/socket.h.Tom Lane2006-07-16
| | | | | | | I think this explains the 'implicit declaration of function gai_strerror' warnings visible in the current buildfarm report from snake: if sys/socket.h is included again after getaddrinfo.h, the file would merrily undefine the gai_strerror macro.
* Put back another not-so-unnecessary #include, per report from Hiroshi Saito.Tom Lane2006-07-16
|
* Fix getDatumCopy(): don't use store_att_byval to copy into a DatumTom Lane2006-07-16
| | | | | | variable (this accounts for regression failures on PPC64, and in fact won't work on any big-endian machine). Get rid of hardwired knowledge about datum size rules; make it look just like datumCopy().
* Improve error message wording.Tom Lane2006-07-16
|
* Put back some more not-so-unused-as-all-that #includes. This un-breaksTom Lane2006-07-15
| | | | | the EXEC_BACKEND code on my machines, so hopefully it will fix the Windows buildfarm members.
* Fix some missing inclusions identified with new pgcheckdefines tool.Tom Lane2006-07-15
|
* Fix some makefiles that fail to yield good results from 'make -qp'.Tom Lane2006-07-15
| | | | | This doesn't really matter for ordinary building of Postgres, but it's useful for automated checks, such as my just-committed pgcheckdefines.
* Create a tool to catch #include omissions that might not result in anyTom Lane2006-07-15
| | | | | | compiler warning, specifically #ifdef or #if defined tests on symbols that are defined in a file not included. The results are a bit noisy and require care to interpret, but it's a lot better than no tool at all.
* Fix misguided removal of access/tuptoaster.h inclusion, per Kris Jurka.Tom Lane2006-07-14
| | | | | | I'm going to insist on reversion of this entire patch unless pgrminclude is upgraded to a less broken state, but in the meantime let's get contrib passing regression again.
* Fix another passel of include-file breakage. Kris Jurka, Tom LaneTom Lane2006-07-14
|
* Add dependency to fix parallel-make race condition. Alexander DupuyTom Lane2006-07-14
|
* Have find_static skip main() functions.Bruce Momjian2006-07-14
|
* Remove 576 references of include files that were not needed.Bruce Momjian2006-07-14
|
* Fix a passel of recently-committed violations of the rule 'thou shaltTom Lane2006-07-14
| | | | | have no other gods before c.h'. Also remove some demonstrably redundant #include lines, mostly of <errno.h> which was added to c.h years ago.
* Revert part of recent include patch not ready for application.Bruce Momjian2006-07-14
|
* Add additional includes needed on some platforms.Bruce Momjian2006-07-14
|
* Move CFLAGS for pginclude to the end of the command line.Bruce Momjian2006-07-14
|
* Move math.h after postgresql.hBruce Momjian2006-07-13
|
* Skip stripping postgres_fe.h include file.Bruce Momjian2006-07-13
|
* More include file adjustments.Bruce Momjian2006-07-13
|
* More include file adjustments.Bruce Momjian2006-07-13
|
* Allow include files to compile own their own.Bruce Momjian2006-07-13
| | | | | | | Strip unused include files out unused include files, and add needed includes to C files. The next step is to remove unused include files in C files.
* Improve pginclude tools to process include file usage by other include files.Bruce Momjian2006-07-13
|
* Remove trailing comma from CreateStmtLikeOption enum definition. ThisNeil Conway2006-07-13
| | | | is harmless, but it causes a warning with Tru64's cc.
* Fix pgrminclude to work for stripping include files.Bruce Momjian2006-07-12
|
* Clean up for warning:Joe Conway2006-07-12
| | | | | | | | | fe-auth.c:573: warning: passing argument 1 of 'free' discards qualifiers from pointer target type pg_krb5_authname used to return a (const char *) to memory allocated by krb. Somewhere along the lines this was changed so that a copy was made, returned, and freed instead. However the const modifier was never removed.
* Apply entab fix from Marko Kreen for these problems:Alvaro Herrera2006-07-11
| | | | | | | | - halt.c did not include stdlib.h, thus missed exit() prototype - Makefile ignores BINDIR for install. - Makefile calls install with user/group args, thus failing for regular user. While trying it I noticed that the Makefile does not support VPATH builds ...
* Tweak fillfactor code as per my recent proposal. Fix nbtsort.c so thatTom Lane2006-07-11
| | | | | | it can handle small fillfactors for ordinary-sized index entries without failing on large ones; fix nbtinsert.c to distinguish leaf and nonleaf pages; change the minimum fillfactor to 10% for all index types.
* Improve pginclude tests.Bruce Momjian2006-07-11
|
* Improve pginclude compile flags.Bruce Momjian2006-07-11
|
* Update pginclude documentation.Bruce Momjian2006-07-11
|
* Add support to GIN for =(anyarray,anyarray) operationTeodor Sigaev2006-07-11
|
* Have pgrminclude process include files too.Bruce Momjian2006-07-11
|
* Add $CFLAGS support to pgrminclude.Bruce Momjian2006-07-11
|
* Move pgrminclude debug code to be more effective.Bruce Momjian2006-07-11
|
* Improve shell script wrapping.Bruce Momjian2006-07-11
|
* Add comments to pgrminclude.Bruce Momjian2006-07-11
|
* Alphabetically order reference to include files, "S"-"Z".Bruce Momjian2006-07-11
|
* Alphabetically order reference to include files, "N" - "S".Bruce Momjian2006-07-11
|
* Alphabetically order reference to include files, "G" - "M".Bruce Momjian2006-07-11
|
* GIN improvementsTeodor Sigaev2006-07-11
| | | | | | | | - Replace sorted array of entries in maintenance_work_mem to binary tree, this should improve create performance. - More precisely calculate allocated memory, eliminate leaks with user-defined extractValue() - Improve wordings in tsearch2
* Sort reference of include files, "A" - "F".Bruce Momjian2006-07-11
|