| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Add ERRCODE_INVALID_PASSWORD sqlstate error code.
|
|
|
|
| |
these definitions unique, too. It used to use the linenumber but in the rare case of two definitions in one line this was not unique.
|
| |
|
|
|
|
|
|
| |
the GSSAPI libraries crash.
Noted by Zdenek Kotala
|
|
|
|
| |
error sqlstate. This change makes it return a correct value..
|
|
|
|
|
|
|
| |
set ferror() but never set feof(). This is known to be the case for recent
glibc when trying to read a directory as a file, and might be true for other
platforms/cases too. Per report from Ed L. (There is more that we ought to
do about his report, but this is one easily identifiable issue.)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the fact that NetBSD/mips is currently broken, as per buildfarm member pika.
Also add regression tests to ensure that get_float8_nan and get_float4_nan
are exercised even on platforms where they are not needed by
float8in/float4in.
Zoltán Böszörményi and Tom Lane
|
|
|
|
|
| |
regession test output, and update pgindent script to avoid them in the
future.
|
| |
|
| |
|
|
|
|
| |
(hope I got 'em all). Per discussion, this release will be 9.0 not 8.5.
|
|
|
|
|
|
|
| |
is invisible in psql, other interfaces, like libpq, make this value
visible.
Boszormenyi Zoltan
|
|
|
|
| |
By Zoltán Böszörményi
|
|
|
|
| |
just trying to figure out the minimal amount of defines needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If expand_dbname is non-zero and dbname contains an = sign, it is taken as
a conninfo string in exactly the same way as if it had been passed to
PQconnectdb. This is equivalent to the way PQsetdbLogin() works, allowing
PQconnectdbParams() to be a complete alternative.
Also improve the way the new function is called from psql and replace a
previously missed call to PQsetdbLogin() in psql. Additionally use
PQconnectdbParams() for pg_dump and friends, and the bin/scripts
command line utilities such as vacuumdb, createdb, etc.
Finally, update the documentation for the new parameter, as well as the
nuances of precedence in cases where key words are repeated or duplicated
in the conninfo string.
|
|
|
|
| |
<float.h>' as well.
|
|
|
|
| |
fixing yet another incorrect log output.
|
|
|
|
|
|
| |
test failures on some architectures.
By Zoltán Böszörményi.
|
|
|
|
| |
machines are all rejecting isinf() calls in this file.
|
|
|
|
|
|
| |
making it OS independant.
Patch done by Zoltán Böszörményi.
|
|
|
|
|
|
|
|
| |
order
so regression testing is possible,
by Zoltan Boszormenyi
|
|
|
|
| |
reverse yes and no.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PQconnectStartParams. These are analogous to PQconnectdb and PQconnectStart
respectively. They differ from the legacy functions in that they accept
two NULL-terminated arrays, keywords and values, rather than conninfo
strings. This avoids the need to build the conninfo string in cases
where it might be inconvenient to do so. Includes documentation.
Also modify psql to utilize PQconnectdbParams rather than PQsetdbLogin.
This allows the new config parameter application_name to be set, which
in turn is displayed in the pg_stat_activity view and included in CSV
log entries. This will also ensure both new functions get regularly
exercised.
Patch by Guillaume Lelarge with review and minor adjustments by
Joe Conway.
|
|
|
|
| |
of my commit.
|
|
|
|
| |
cursor support to native mode.
|
| |
|
|
|
|
| |
auto-prepare mode if the connection is closed and re-opened and the previously prepared query is issued again.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
PQescapeLiteral is similar to PQescapeStringConn, but it relieves the
caller of the need to know how large the output buffer should be, and
it provides the appropriate quoting (in addition to escaping special
characers within the string). PQescapeIdentifier provides similar
functionality for escaping identifiers.
Per recent discussion with Tom Lane.
|
|
|
|
|
| |
This extends the existing pg_service.conf facility to first look for a
service definition file in the user's home directory.
|
|
|
|
| |
Zoltan <zb@cybertec.at>.
|
|
|
|
| |
[OUTPUT] statement to ecpg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes two new kinds of postmaster processes, walsenders and
walreceiver. Walreceiver is responsible for connecting to the primary server
and streaming WAL to disk, while walsender runs in the primary server and
streams WAL from disk to the client.
Documentation still needs work, but the basics are there. We will probably
pull the replication section to a new chapter later on, as well as the
sections describing file-based replication. But let's do that as a separate
patch, so that it's easier to see what has been added/changed. This patch
also adds a new section to the chapter about FE/BE protocol, documenting the
protocol used by walsender/walreceivxer.
Bump catalog version because of two new functions,
pg_last_xlog_receive_location() and pg_last_xlog_replay_location(), for
monitoring the progress of replication.
Fujii Masao, with additional hacking by me
|
|
|
|
|
| |
Given that undefined types are handled as character strings anyway the type
translation function can simply return the correcponding ECPGt_char type.
|
|
|
|
|
|
| |
For non-SQL3 types ecpg used to return -Oid. This will break if there are
enough Oids to fill the namespace. Therefore we play it safe and return 0 if
there is no Oid->SQL3 tyoe mapping available.
|
|
|
|
| |
isn't actively used anymore.
|
| |
|
|
|
|
|
|
|
|
| |
we're not going to support that anymore.
I did keep the 64-bit-CRC-with-32-bit-arithmetic code, since it has a
performance excuse to live. It's a bit moot since that's all ifdef'd
out, of course.
|
| |
|
| |
|
|
|
|
|
| |
OS specific with some distinguishing between signaling and quiet nans. It's not
really importnat for us here anyway.
|
| |
|
|
|
|
| |
superfluous include files.
|
| |
|
| |
|
| |
|
|
|
|
| |
forgot about the cvs stuff.
|
| |
|