aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Adjust pg_regress to print out the exact string given to system() whenTom Lane2006-07-19
| | | | | 'make install' or 'initdb' fails. Also minor simplification of fgets() usage --- fgets guarantees a trailing null anyway.
* Add WIN32 compile suggestion to pginclude README.Bruce Momjian2006-07-19
|
* kill() is declared in <signal.h> per Single Unix Spec.Tom Lane2006-07-19
|
* Tweak command quoting for Windows (I'd forgotten about SYSTEMQUOTE).Tom Lane2006-07-19
|
* Remove unnecessary inclusion of libpq into pg_regress --- overlyTom Lane2006-07-19
| | | | enthusiastic copy and paste ...
* Rewrite pg_regress as a C program instead of a shell script.Tom Lane2006-07-19
| | | | | | | This allows it to be used on Windows without installing mingw (though you do still need 'diff'), and opens the door to future improvements such as message localization. Magnus Hagander and Tom Lane.
* copydir() and rmtree() need to use lstat, not stat, to behave as expectedTom Lane2006-07-18
| | | | with symlinks. Noted while trying to use rmtree in new C-code pg_regress.
* The Win32 DEF files that are generated for libpq contain the attributeBruce Momjian2006-07-18
| | | | | | | | "DESCRIPTION", which is actually only allowed for device drivers. The compilers ignore it with a warning - if we remove them, we get rid of the warning. Magnus Hagander
* Add pginclude testing ideas.Bruce Momjian2006-07-18
|
* Done:Bruce Momjian2006-07-18
| | | | o -Display IN, INOUT, and OUT parameters in \df
* 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.
* Minor documentation tweak: in the tables of functions and operators,Neil Conway2006-07-16
| | | | | don't include a space between the function name and the parenthesis that begins its parameter list, for consistency.
* 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 pgcrypto portability issues, per Marko Kreen.Tom Lane2006-07-15
|
* 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.
* In PGP public key tests, encrypt the secret key with AES not CAST5,Tom Lane2006-07-14
| | | | so that the test passes with or without OpenSSL. Marko Kreen
* 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
|
* Minor doc tweak: replace a "--" with "&mdash;".Neil Conway2006-07-14
|
* Reorder the entries in the function section of the manual, to ensure theyNeil Conway2006-07-13
| | | | | are alphabetically ordered. I believe the tables were correctly ordered in the past, but some of them had subsequently regressed.
* 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
|
* Adjust /contrib for new include file contents.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.
* Be consistent about not using ECHO_N/ECHO_C (seems unnecessary on Linux).Peter Eisentraut2006-07-13
|
* Fix C++-style comment.Neil Conway2006-07-13
|