Commit Graph

93 Commits (0ded7615d8cafbb1a5ae3d0ba0a931eb146e63a5)

Author SHA1 Message Date
Michael Paquier 0ded7615d8 ecpg: Fix NULL pointer dereference during connection lookup 2 months ago
Peter Eisentraut 3c8e463b0d Revert "Tidy up locale thread safety in ECPG library." 6 months ago
Peter Eisentraut 8e993bff53 Tidy up locale thread safety in ECPG library. 6 months ago
Peter Eisentraut 7f798aca1d Remove useless casts to (void *) 10 months ago
Tom Lane f22e84df1d ecpg: avoid adding whitespace around '&' in connection URLs. 12 months ago
Thomas Munro 68a4b58eca Remove --disable-thread-safety and related code. 2 years ago
Noah Misch e2bc242833 Fix previous commit's ecpg_clocale for ppc Darwin. 3 years ago
Noah Misch 5633836ef3 ecpglib: call newlocale() once per process. 3 years ago
Tom Lane ba412c905a Avoid ecpglib core dump with out-of-order operations. 3 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 3 years ago
Michael Paquier fa703b317e Fix error handling with threads on OOM in ECPG connection logic 4 years ago
Tom Lane 62535cae97 Remove dead code in ECPGconnect(), and improve documentation. 5 years ago
Tom Lane 58cd8dca3d Avoid redundantly prefixing PQerrorMessage for a connection failure. 5 years ago
Amit Kapila dddf4cdc33 Make the order of the header file includes consistent in non-backend modules. 6 years ago
Tom Lane 96b6c82c9d Revert "Add DECLARE STATEMENT support to ECPG." 6 years ago
Tom Lane b61a5e6a1f Cosmetic improvements for options-handling code in ECPGconnect(). 6 years ago
Michael Meskes bd7c95f0c1 Add DECLARE STATEMENT support to ECPG. 7 years ago
Tom Lane 3295f82022 Rename ecpg's various "extern.h" files to have distinct names. 7 years ago
Peter Eisentraut 17273d059c Remove unnecessary parentheses in return statements 8 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 8 years ago
Michael Meskes 94a484222c Check for out of memory when allocating sqlca. 10 years ago
Michael Meskes af0b49fc98 Fix memory leak in ecpglib's connect function. 10 years ago
Michael Meskes 7c957ec83e Do not use an empty hostname. 12 years ago
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 13 years ago
Peter Eisentraut 8dd4d10d48 ecpg: Fix rare memory leaks 14 years ago
Michael Meskes 84ff5b5db5 In ecpglib rewrote code that used strtok_r to not use library functions 14 years ago
Michael Meskes 45b7ab6b59 gcc on Windows does not know about strtok_s. 14 years ago
Michael Meskes e3155c97b0 Windows doesn't have strtok_r, so let's use strtok_s instead. 14 years ago
Michael Meskes 5e7710e725 Make sure all connection paramters are used in call to PQconnectdbParams. 14 years ago
Michael Meskes 0ee23b53be Allow the connection keyword array to carry all seven items in ecpglib. 14 years ago
Michael Meskes fc211f8277 Applied Peter's patch to PQconnectdbParams in ecpglib instead of the old 14 years ago
Michael Meskes 8cf82ac53e Ecpglib stores variables that are used in DECLARE statements in a global list. 14 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Robert Haas 5aa446c961 Cleanup various comparisons with the constant "true". 15 years ago
Michael Meskes 35d5d962e1 Some cleanup in ecpg code: 15 years ago
Michael Meskes 816b008eaf Applied patch by Itagaki Takahiro to fix incorrect status calculation in 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 15 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
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Peter Eisentraut cb05ab81a8 NLS cleanup in ecpglib 17 years ago
Michael Meskes e05c5a908b Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to 17 years ago
Peter Eisentraut e1bdd07c3c Add localization support to ecpg. 18 years ago
Michael Meskes 9d7b256eeb - Moved from PQsetdbLogin to PQconnectDB. 18 years ago
Michael Meskes f9e083fd30 Added ECPGget_PGconn() function to ecpglib, courtesy of Mike Aubury. 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Michael Meskes 7793c6ecca Cleaned up ecpglib and renamed functions that do not need to be exported. 18 years ago
Michael Meskes c4a6c2f871 Hopefully fixed some stuff that causes Windows builds to fail. 18 years ago
Michael Meskes 0c2eb200d6 ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe 18 years ago
Michael Meskes 60e83cec57 Applied another patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> 18 years ago