Commit Graph

3355 Commits (47d6d4485bca56900dee8ae6f7ad82fa98efcc21)

Author SHA1 Message Date
Tom Lane 4ed4b6c54e Rearrange libpq's SSL initialization to simplify it and make it handle some 16 years ago
Tom Lane 20d629320b Add missing newlines to some SSL-related error messages. Noted while testing. 16 years ago
Michael Meskes 29259531c7 Replace self written 'long long int' configure test by standard 'AC_TYPE_LONG_LONG_INT' macro call. 16 years ago
Michael Meskes 555a02f910 Added a configure test for "long long" datatypes. So far this is only used in ecpg and replaces the old test that was kind of hackish. 16 years ago
Michael Meskes 15ab0e9a60 Ecpg now accepts "long long" datatypes even if "long" is 64bit wide. This used to cover the equally long "long long" type. This patch closes bug #5464. 16 years ago
Peter Eisentraut f1ac08daee Translation update 16 years ago
Bruce Momjian 395d1259ad Add PGFILEDESC description to Makefiles for all /contrib executables. 16 years ago
Tom Lane ed437e2b27 Adjust comments about avoiding use of printf's %.*s. 16 years ago
Tom Lane 54cd4f0457 Work around a subtle portability problem in use of printf %s format. 16 years ago
Michael Meskes 71a185a24d ECPG connect routine only checked for NULL to find empty parameters, but user and password can also be "". 16 years ago
Tom Lane 0954358047 Fix a couple of places where the result of fgets() wasn't checked. 16 years ago
Magnus Hagander 81fb51732e Fix typo that had the code check the same thing twice. 16 years ago
Michael Meskes 5f5ba92334 Make ecpg in line with other compilers in that it deletes its output if there was an error processing the input file. 16 years ago
Peter Eisentraut a404a12fb4 Message quoting style tuning 16 years ago
Michael Meskes 001b1ad6a3 FATAL errors are meant to stop ecpg immediately, e.g. because the syntax is 16 years ago
Michael Meskes 1fbb06d204 Zoltan beautified his hidden-variable-patch for ecpg. This also makes sure we get an error message instead of a warning if the variable have different types. 16 years ago
Michael Meskes b2bddc2ff2 Applied Zoltan's patch to make ecpg spit out warnings if a local variable hides a global one with the same name. 16 years ago
Michael Meskes e01c6ce712 Give a more precise error message if a variable is re-used as cursor name in ecpg. 16 years ago
Peter Eisentraut 8a367d441b Remove useless double assignment 16 years ago
Michael Meskes ecac5e6bfc Fixed ECPG regression test to make sure it uses absolute paths for include 16 years ago
Michael Meskes b4d298ac23 ECPG's parser now accepts and handles variables as arguments for the FREE command. 16 years ago
Michael Meskes 654fff2311 Adjusted regression test results to the change I made in debug output for ecpglib. 16 years ago
Michael Meskes a9dd217861 Correctly name functions in debug output in ecpglib. When the functions were 16 years ago
Michael Meskes 1d66a1cca1 ECPG only copied #include statements instead of processing them according to 16 years ago
Michael Meskes 1dff2a0f25 Fixed ecpg parser to allow more than one C preprocessor command inside a declare section. 16 years ago
Peter Eisentraut 2fb605ec76 Fix peculiar, untranslatable message concatenation attempt 16 years ago
Bruce Momjian a6c1cea2b7 Add libpq warning message if the .pgpass-retrieved password fails. 16 years ago
Michael Meskes 600be01e89 ecpg now adds a unique counter to its varchar struct definitions to make 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. 16 years ago
Michael Meskes 6e2cf34ec1 Better test the content of the SQLSTATE string in ecpglib than the pointer. 16 years ago
Magnus Hagander 2a0dec7888 Require hostname to be set when using GSSAPI authentication. Without it, 16 years ago
Michael Meskes 8eb81949a5 In case the connection magically disappears libecpg only returns an internal 16 years ago
Tom Lane 61d75116a7 Fix a couple of places that would loop forever if attempts to read a stdio file 16 years ago
Michael Meskes d6166a5d7e Make sure ecpg uses the same header files in the same order as the backend. 16 years ago
Tom Lane 4d17a2146c Insert a hack into get_float8_nan (both core and ecpg copies) to deal with 16 years ago
Bruce Momjian 2cc6ff45f8 Revert pgindent changes to ecpg include files that are part of ecpg 16 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Peter Eisentraut a39f02e369 Translation updates for 9.0alpha4 16 years ago
Tom Lane 50a90fac40 Stamp HEAD as 9.0devel, and update various places that were referring to 8.5 16 years ago
Bruce Momjian aa7e7ae9a6 Have SELECT and CREATE TABLE AS queries return a row count. While this 16 years ago
Michael Meskes 492eaefb90 Do not check nan values for infinity. Some system are not able to handle this. 16 years ago
Michael Meskes c34446cddd First try to make this one ecpg regression test work on Windows too. I'm just trying to figure out the minimal amount of defines needed. 16 years ago
Joe Conway f419a82c70 Modify recently added PQconnectdbParams() with new argument, expand_dbname. 16 years ago
Michael Meskes 58fb345dde Usage of isnan() in ECPG regression tests probably needs '#include <float.h>' as well. 16 years ago
Michael Meskes a96ad2fc74 Streamlined array handling code in libecpg a little bit, in the process fixing yet another incorrect log output. 16 years ago
Michael Meskes 1e4cc384ab Fixed some typos in ECPG regression test suite that resulted in regression test failures on some architectures. 16 years ago
Tom Lane 45c88a55c2 Add #include <float.h> --- guessing the lack of this is why Windows 16 years ago
Michael Meskes cedae13017 Fixed NaN/Infinity problems in ECPG for float/double/numeric/decimal by making it OS independant. 16 years ago
Michael Meskes 83fa037b73 Changed ECPG outofscope handling to always print out statements in the same order 16 years ago
Michael Meskes f180856596 Fixed a few typos in ecpg. Two were in comments, the third made a log output reverse yes and no. 16 years ago
Joe Conway e3f36838e5 Introduce two new libpq connection functions, PQconnectdbParams and 16 years ago