- Dec 24, 2010
-
-
Andrew Dunstan authored
Allow vpath builds and regression tests to succeed on Mingw. Backpatch to release 8.4 - earlier releases would require more changes and it's not worth the trouble.
-
- Dec 23, 2010
-
-
Michael Meskes authored
string". This is not really needed because the string gets copied to the output untranslated anyway, but by adding this rule the lexer stays in sync with the backend lexer.
-
- Dec 22, 2010
-
-
Magnus Hagander authored
This function is like the PQserverVersion() function except it returns the version of libpq, making it possible for a client program or driver to determine which version of libpq is in use at runtime, and not just at link time. Suggested by Harald Armin Massa and several others.
-
- Dec 18, 2010
-
-
Bruce Momjian authored
connections when the server is down, on Win32.
-
- Dec 16, 2010
-
-
Bruce Momjian authored
libpq connection, per report from Magnus. This happens only on GIT master and only on Win32 because that is the platform where "" maps to an IP address (localhost).
-
- Dec 11, 2010
-
-
Robert Haas authored
Fujii Masao. Review by Alvaro Herrera, Tom Lane, and myself.
-
- Nov 27, 2010
-
-
Bruce Momjian authored
something that can be documented.
-
Tom Lane authored
The pg_fe_sendauth code might fail if it can't handle the authentication request message type --- if so, ping should still say the server is up.
-
Tom Lane authored
Basically, we want to distinguish all cases where the connection was not made from those where it was. A convenient proxy for this is to see if we got a message with a SQLSTATE code back from the postmaster. This presumes that the postmaster will always send us a SQLSTATE in a failure message, which is true for 7.4 and later postmasters in every case except fork failure. (We could possibly complicate the postmaster code to do something about that, but it seems not worth the trouble, especially since pg_ctl's response for that case should be to keep waiting anyway.) If we did get a SQLSTATE from the postmaster, there are basically only two cases, as per last week's discussion: ERRCODE_CANNOT_CONNECT_NOW and everything else. Any other error code implies that the postmaster is in principle willing to accept connections, it just didn't like or couldn't handle this particular request. We want to make a special case for ERRCODE_CANNOT_CONNECT_NOW so that "pg_ctl start -w" knows it should keep waiting. In passing, pick names for the enum constants that are a tad less likely to present collision hazards in future.
-
Tom Lane authored
Newly added code was supposing that "struct sockaddr_in" applies to IPv6.
-
- Nov 26, 2010
-
-
Bruce Momjian authored
-
Bruce Momjian authored
per Peter.
-
Bruce Momjian authored
-
Bruce Momjian authored
the OBJS lines from that file. Cleanup where possible.
-
Bruce Momjian authored
Makefile variable PGPORT, for clarity.
-
- Nov 25, 2010
-
-
Bruce Momjian authored
configure's LIBOBJS. Should fix buildfarm failures.
-
Bruce Momjian authored
status, including a status where the server is running but refuses a postgres connection. Have pg_ctl use this new function. This fixes the case where pg_ctl reports that the server is not running (cannot connect) but in fact it is running.
-
Bruce Momjian authored
-
Robert Haas authored
-
Bruce Momjian authored
-
- Nov 24, 2010
-
-
Bruce Momjian authored
supplied, also print the IP address. This allows IPv4 and IPv6 failures to be distinguished. Also useful when a hostname resolves to multiple IP addresses. Also, remove use of inet_ntoa() and use our own inet_net_ntop() in all places, including in libpq, because it is thread-safe.
-
- Nov 23, 2010
-
-
Peter Eisentraut authored
-
- Nov 17, 2010
-
-
Peter Eisentraut authored
Add some additional dependencies to constrain the build order to prevent parallel make from failing. In the case of src/Makefile, this is likely to be too complicated to be worth maintaining, so just add .NOTPARALLEL to get the old for-loop-like behavior. More fine-tuning might be necessary for some platforms or configurations.
-
- Nov 15, 2010
-
-
Robert Haas authored
Itagaki Takahiro, with slight modifications.
-
- Nov 12, 2010
-
-
Peter Eisentraut authored
Replace for loops in makefiles with proper dependencies. Parallel make can now span across directories. Also, make -k and make -q work properly. GNU make 3.80 or newer is now required.
-
- Nov 02, 2010
-
-
Michael Meskes authored
Use bool as type for booleans instead of int. Do not implicitely cast size_t to int. Make the compiler stop complaining about unused variables by adding an empty statement.
-
- Oct 20, 2010
-
-
Tom Lane authored
The trick is to not try to build executables directly from .c files, but to always build the intermediate .o files. For obscure reasons, Darwin's version of gcc will leave debug cruft behind in the first case but not the second. Per complaint from Robert Haas.
-
- Oct 14, 2010
-
-
Michael Meskes authored
ecpglib. Instead of parsing the statement just as ask the database server. This patch removes the whole client side track keeping of the current transaction status.
-
- Oct 13, 2010
-
-
Peter Eisentraut authored
-
- Sep 24, 2010
-
-
Tom Lane authored
Fix overly-enthusiastic ignores, as identified by git ls-files -i --exclude-standard
-
- Sep 23, 2010
-
-
Tom Lane authored
The previous patches failed to cover a lot of symlinks that are only added in platform-specific cases. Make the lists match what's in the Makefile for each branch.
-
- Sep 22, 2010
-
-
Magnus Hagander authored
Backpatch to 8.2 as that's how far the structure looks the same.
-
Magnus Hagander authored
-
- Sep 20, 2010
-
-
Magnus Hagander authored
-
- Sep 19, 2010
-
-
Tom Lane authored
with Magnus's script to remove these.
-
- Sep 10, 2010
-
-
Michael Meskes authored
ecpg also does not regard cursor names as case-sensitive. Thanks to Zoltan Boszormenyi for the patch.
-
- Aug 19, 2010
-
-
Peter Eisentraut authored
at end of files.
-
- Aug 17, 2010
-
-
Michael Meskes authored
-
- Aug 13, 2010
-
-
Tom Lane authored
I just noticed that libpq's pqsignal.h was violating our general inclusion style guidelines by explicitly including postgres_fe.h. Remove that, and put it in pqsignal.c where it belongs.
-
- Aug 02, 2010
-
-
Tom Lane authored
interval input "invalid" was specified together with other fields. Spotted by Neil Conway with the help of a clang warning. Although this has been wrong since the interval code was written more than 10 years ago, it doesn't affect anything beyond which error message you get for a wrong input, so not worth back-patching very far.
-