summaryrefslogtreecommitdiff
path: root/src/interfaces
AgeCommit message (Collapse)Author
2009-02-07ecpg requires libpq; add Makefile rules to require libpq to be builtBruce Momjian
first. Alvaro Herrera
2009-02-05Mixing long and int entries of a union only works on some architectures.Michael Meskes
2009-02-04Added result checks for calls to gmtime().Michael Meskes
2009-02-03Argh, wrong line copied again.Michael Meskes
2009-02-03Fixed copy&paste mistake that made library use uninitialized variable.Michael Meskes
2009-02-02When changing a regression test file one should also change the expected ↵Michael Meskes
output file.
2009-02-02Set memory segment to '0', just to be sure.Michael Meskes
2009-02-02Fixed auto allocation for binary data types.Michael Meskes
2009-02-02Fixed bug in %s handling.Michael Meskes
2009-01-30Make messages consistent with existing onesPeter Eisentraut
2009-01-30Whitespace fix in messagePeter Eisentraut
2009-01-29Message fixPeter Eisentraut
2009-01-28Go over all OpenSSL return values and make sure we compare themMagnus Hagander
to the documented API value. The previous code got it right as it's implemented, but accepted too much/too little compared to the API documentation. Per comment from Zdenek Kotala.
2009-01-26Message format tuningPeter Eisentraut
2009-01-23Message style reviewPeter Eisentraut
2009-01-22Recreate ecpg_config.h with a stamp file created by config.status, samePeter Eisentraut
way pg_config.h is handled. This avoids reruns of config.status on every build, if configure has been rerun.
2009-01-19Fix accidental (I suppose) introduction of non-ASCII quote marks.Tom Lane
2009-01-19Message wordsmithingPeter Eisentraut
2009-01-16WordsmithingPeter Eisentraut
2009-01-15NLS cleanup in ecpglibPeter Eisentraut
Replace leftover instances of _() by ecpg_gettext(), the latter being the correct way to refer to the library's message catalog, instead of the one of the program using the library. Drop NLS support for ecpg_log(), which is a debugging instrument similar to elog() in the backend. We cannot support NLS in the ecpg compatlib, because that requires ecpg_gettext, which is in ecpglib, which is not a dependency of compatlib. It doesn't seem worthwhile to worry about this, since the only translatable string is "out of memory", and gettext probably won't be able to do much without memory either. Adjust messages to project style.
2009-01-15Build needed things in src/test/regress/ first. And some build rulesPeter Eisentraut
normalization.
2009-01-14misc.o depends on pg_config_paths.h when --enable-nls is used.Peter Eisentraut
2009-01-13Remove special-handling of usernames with Kerberos authentication. We willMagnus Hagander
now always use the system username as the default, and not try to pick it up from the kerberos ticket. This fixes the spurious error messages that show up on kerberos-enabled builds when not actually using kerberos, and puts it in line with how other authentication methods work.
2009-01-09Fix libpq so that it reports PGRES_EMPTY_QUERY not PGRES_COMMAND_OK when anTom Lane
empty query string is passed to PQexecParams and related functions. Its handling of the NoData response to Describe messages was subtly incorrect. Per my report of yesterday. Although I consider this a bug, it's a behavioral change that might affect applications, so not back-patched. In passing fix a second issue in the same code: it didn't react well to an out-of-memory failure while trying to make the PGresult object.
2009-01-07Don't require pqGetHomeDirectory to succeed if the user has specifiedMagnus Hagander
hardcoded paths for SSL rootcert/crl/clientcert/key. As noted by Andrew Chernow
2009-01-05Fix for cross-compilation between mingw32 and something else. The choicePeter Eisentraut
of pwd vs. pwd -W is correctly a function of the build system, not the host system.
2009-01-05Allow out-of-tree builds on mingw and cygwinPeter Eisentraut
Author: Richard Evans <richard.evans@blueallegro.net>
2009-01-02Split the ecpg translation support into a separate catalog for the ecpgPeter Eisentraut
preprocessor and the library. This is useful for a number of reasons: * The preprocessor and the library are in some cases installed in separate packages and used by different classes of users. * The library MO files need a different versioning scheme to account for the soname. * The makefiles are simpler, more robust, and easier to maintain this way. (NLS web site was prone to break everytime a build rule changes.) * Translators might choose to focus on the ecpglib, because that is more user-facing. * There was virtually no overlap, so nothing is lost.
2009-01-01Fix a couple of missed copyright dates.Tom Lane
2009-01-01Update copyright for 2009.Bruce Momjian
2008-12-29Finally the last test.Michael Meskes
2008-12-29First rounf of whitespace changes. Everything but connect-test1 should be fine.Michael Meskes
2008-12-17Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> toMichael Meskes
fix segfault on non-glibc systems.
2008-12-15Fix cast-away-const problem as well as bogus calculation of required buffer ↵Tom Lane
size.
2008-12-15Do not try to change a const variable.Michael Meskes
2008-12-15Support specifying filename for SSL certificate, key, root certificate storeMagnus Hagander
and certificate revokation list by using connection parameters or environment variables. Original patch by Mark Woodward, heavily reworked by Alvaro Herrera and Magnus Hagander.
2008-12-12Using clause has to accept signed numeric constants too.Michael Meskes
2008-12-11Append major version number and for libraries soname major version numberPeter Eisentraut
to the gettext domain name, to simplify parallel installations. Also, rename set_text_domain() to pg_bindtextdomain(), because that is what it does.
2008-12-07Set up ar, dlltool, dllwrap, and windres for cross-compiling if necessary.Peter Eisentraut
Plus some makefile cleanup. part of a patch from Richard Evans
2008-12-04Comment said we don't free the lockarray, and why. The proper fix is toMagnus Hagander
make the code do what the comment says...
2008-12-04Fix typo in recent SSL unload patch.Bruce Momjian
Kris Jurka
2008-12-03Properly unregister OpenSSL callbacks when libpq is done withMagnus Hagander
it's connection. This is required for applications that unload the libpq library (such as PHP) in which case we'd otherwise have pointers to these functions when they no longer exist. This needs a bit more testing before we can consider a backpatch, so not doing that yet. In passing, remove unused functions in backend/libpq. Bruce Momjian and Magnus Hagander, per report and analysis by Russell Smith.
2008-12-02Change wildcard cerfificate mapping to be much simler - we now only matchMagnus Hagander
the * character at the beginning of a pattern, and it does not match subdomains. Since this means we no longer need fnmatch, remove the imported implementation from port, along with the autoconf check for it.
2008-12-01Removed port testing.Michael Meskes
2008-11-29Make sure we give an appropriate user-facing error when attemptingTom Lane
to drop a table that is referenced by an open cursor. Fix unstable ecpg regression test result that was produced by this oversight.
2008-11-28Partial fix for fallout from temp-port changes. ecpg still needs more work,Tom Lane
but I think this is enough to turn the buildfarm green again.
2008-11-26interval.c needs limits.hMichael Meskes
2008-11-26Applied patch by Ron Mayer <rm_pg@cheapcomplexdevices.com> to merge the newMichael Meskes
interval style into ecpg.
2008-11-26Tweak new PQExpBufferBroken macro to suppress warnings from pickierTom Lane
versions of gcc.
2008-11-26Removed strchrnulMichael Meskes