Commit Graph

192 Commits (4d3f03f42227bb351c2021a9ccea2fff9c023cfc)

Author SHA1 Message Date
Tom Lane fe27009cbb Recognize network-failure errnos as indicating hard connection loss. 5 years ago
Tom Lane c410af098c Mop up some no-longer-necessary hacks around printf %.*s format. 6 years ago
Tom Lane 7247e243a8 Try to read data from the socket in pqSendSome's write_failed paths. 6 years ago
Noah Misch 3350fb5d1f Clear some style deviations. 6 years ago
Alvaro Herrera c9d2977519 Clean up newlines following left parentheses 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Amit Kapila dddf4cdc33 Make the order of the header file includes consistent in non-backend modules. 6 years ago
Michael Paquier 8548ddc61b Fix inconsistencies and typos in the tree, take 9 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Tom Lane ddf927fb13 Fix misuse of an integer as a bool. 7 years ago
Tom Lane 1f39a1c064 Restructure libpq's handling of send failures. 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Tom Lane 758ce9b779 Incorporate strerror_r() into src/port/snprintf.c, too. 7 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Peter Eisentraut 2eb4a831e5 Change TRUE/FALSE to true/false 8 years ago
Andres Freund 0ba99c84e8 Replace most usages of ntoh[ls] and hton[sl] with pg_bswap.h. 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 9 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Robert Haas 5f374fe7a8 libpq: Try next host if one of them times out. 9 years ago
Andres Freund b182a4ae2f Don't include sys/poll.h anymore. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Peter Eisentraut a40814d7aa Handle invalid libpq sockets in more places 10 years ago
Robert Haas 212bba93ce Fix incorrect comment. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Tom Lane c405918858 Fix unwanted flushing of libpq's input buffer when socket EOF is seen. 10 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 11 years ago
Heikki Linnakangas 2a3f6e368b Fix potential deadlock with libpq non-blocking mode. 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Heikki Linnakangas 4e86f1b16d Put SSL_pending() call behind the new internal SSL API. 11 years ago
Tom Lane 69fed5b26f Ensure libpq reports a suitable error message on unexpected socket EOF. 11 years ago
Heikki Linnakangas acd08d764a Support Subject Alternative Names in SSL server certificates. 11 years ago
Heikki Linnakangas 680513ab79 Break out OpenSSL-specific code to separate files. 12 years ago
Heikki Linnakangas ec903d20e3 Improve comment. 12 years ago
Tom Lane 2f557167b1 Avoid buffer bloat in libpq when server is consistently faster than client. 12 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Bruce Momjian 5d305d86bd libpq: use pgsocket for socket values, for portability 12 years ago
Tom Lane fa4440f516 Improve libpq's error recovery for connection loss during COPY. 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Tom Lane da5aeccf64 Move pqsignal() to libpgport. 13 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Tom Lane 210eb9b743 Centralize libpq's low-level code for dropping a connection. 13 years ago
Tom Lane 92785dac2e Add a "row processor" API to libpq for better handling of large results. 14 years ago
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Tom Lane bcf23ba4bf Fix previous patch so it also works if not USE_SSL (mea culpa). 15 years ago
Tom Lane fee476da95 Improve libpq's error reporting for SSL failures. 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Magnus Hagander de9a4c27fe Add PQlibVersion() function to libpq 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 16 years ago
Tom Lane ed437e2b27 Adjust comments about avoiding use of printf's %.*s. 16 years ago