- 07 2月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
using an itemized list.
-
- 05 2月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
libpq doc mentions.
-
- 03 2月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 30 1月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
capitalization.
-
- 18 1月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
Ray Stell Also fix some libpq title capitalization problems.
-
- 14 1月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
by Robert Haas.
-
- 13 1月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
reviewed by Robert Haas.
-
- 29 12月, 2010 1 次提交
-
-
由 Tom Lane 提交于
It must be added at the end of the ExecStatusType enum to avoid ABI breakage compared to previous libpq versions. Noted by Magnus.
-
- 27 12月, 2010 1 次提交
-
-
由 Alvaro Herrera 提交于
-
- 22 12月, 2010 1 次提交
-
-
由 Magnus Hagander 提交于
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.
-
- 11 12月, 2010 1 次提交
-
-
由 Robert Haas 提交于
Fujii Masao. Review by Alvaro Herrera, Tom Lane, and myself.
-
- 27 11月, 2010 2 次提交
-
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
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.
-
- 26 11月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
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.
-
- 25 11月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
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.
-
- 24 11月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 22 10月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 21 9月, 2010 1 次提交
-
-
由 Magnus Hagander 提交于
-
- 29 8月, 2010 1 次提交
-
-
由 Tom Lane 提交于
Spotted by Dmitriy Igrishin. Back-patch to 8.2, which is when the PREPARE statement was improved to allow parameter types to be omitted.
-
- 17 8月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 10 8月, 2010 1 次提交
-
-
由 Robert Haas 提交于
Per observation from Tom Lane that the previous patch to these files was not consistent with what is done elsewhere in the docs.
-
- 09 8月, 2010 1 次提交
-
-
由 Robert Haas 提交于
Daniele Varrazzo
-
- 05 8月, 2010 1 次提交
-
-
由 Tom Lane 提交于
Noted by Dmitriy Igrishin.
-
- 30 7月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
Block elements with verbatim formatting (literallayout, programlisting, screen, synopsis) should be aligned at column 0 independent of the surrounding SGML, because whitespace is significant, and indenting them creates erratic whitespace in the output. The CSS stylesheets already take care of indenting the output. Assorted markup improvements to go along with it.
-
- 28 7月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 18 7月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
This adds a libpq connection parameter requirepeer that specifies the user name that the server process is expected to run under. reviewed by KaiGai Kohei
-
- 15 7月, 2010 1 次提交
-
-
由 Tom Lane 提交于
parameter against server cert's CN field) to succeed in the case where both host and hostaddr are specified. As with the existing precedents for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility that host and hostaddr match up --- we just use the host name as given. Per bug #5559 from Christopher Head. In passing, make the error handling and messages for the no-host-name-given failure more consistent among these four cases, and correct a lie in the documentation: we don't attempt to reverse-lookup host from hostaddr if host is missing. Back-patch to 8.4 where SSL cert verification was introduced.
-
- 08 7月, 2010 1 次提交
-
-
由 Magnus Hagander 提交于
libpq support.
-
- 07 7月, 2010 1 次提交
-
-
由 Robert Haas 提交于
MacOS X uses TCP_KEEPALIVE rather than TCP_KEEPIDLE for this purpose. Thanks to Fujii Masao for the review.
-
- 30 6月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
between words).
-
- 26 6月, 2010 1 次提交
-
-
由 Robert Haas 提交于
The revised documentation makes it more clear that these are client-side parameters, rather than server side parameters. It also puts the main point of each parameter first, and consolidates the conditions under which it might be ignored in a single list at the end.
-
- 24 6月, 2010 1 次提交
-
-
由 Robert Haas 提交于
This adds four additional connection parameters to libpq: keepalives, keepalives_idle, keepalives_count, and keepalives_interval. keepalives default to on, per discussion, but can be turned off by specifying keepalives=0. The remaining parameters, where supported, can be used to adjust how often keepalives are sent and how many can be lost before the connection is broken. The immediate motivation for this patch is to make sure that walreceiver will eventually notice if the master reboots without closing the connection cleanly, but it should be helpful in other cases as well. Tollef Fog Heen, Fujii Masao, and me.
-
- 18 6月, 2010 1 次提交
-
-
由 Tom Lane 提交于
-
- 11 6月, 2010 1 次提交
-
-
由 Heikki Linnakangas 提交于
string for a streaming replication connection. It's ignored by the server, but allows libpq to pick up the password from .pgpass where "replication" is specified as the database name. Patch by Fujii Masao per Tom's suggestion, with some wording changes by me.
-
- 27 5月, 2010 1 次提交
-
-
由 Tom Lane 提交于
chains, do assorted wordsmithing.
-
- 13 5月, 2010 1 次提交
-
-
由 Magnus Hagander 提交于
Thom Brown
-
- 03 4月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
The endterm attribute is mainly useful when the toolchain does not support automatic link target text generation for a particular situation. In the past, this was required by the man page tools for all reference page links, but that is no longer the case, and it now actually gets in the way of proper automatic link text generation. The only remaining use cases are currently xrefs to refsects.
-
- 27 2月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 24 2月, 2010 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
supported release.
-