summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-protocol2.c
AgeCommit message (Collapse)Author
2004-08-30Another pgindent run with lib typedefs added.Bruce Momjian
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-05-07Solve the 'Turkish problem' with undesirable locale behavior for caseTom Lane
conversion of basic ASCII letters. Remove all uses of strcasecmp and strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp; remove most but not all direct uses of toupper and tolower in favor of pg_toupper and pg_tolower. These functions use the same notions of case folding already developed for identifier case conversion. I left the straight locale-based folding in place for situations where we are just manipulating user data and not trying to match it to built-in strings --- for example, the SQL upper() function is still locale dependent. Perhaps this will prove not to be what's wanted, but at the moment we can initdb and pass regression tests in Turkish locale.
2004-03-05libpq's query to get the OIDs of large-object support functions was notTom Lane
schema-safe. Make it so, and improve the internal support for knowledge of server version.
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon
2003-09-01Do not pass server_encoding to the client.Peter Eisentraut
libpq, talking to an old server, should assume SQL_ASCII as the default client encoding, because that is what the server will actually use (not the server encoding).
2003-08-27Share PG_DIAG_* macros between client and server and use them internally.Peter Eisentraut
2003-08-04Update copyrights to 2003.Bruce Momjian
2003-08-04pgindent run.Bruce Momjian
2003-06-23Change pqInternalNotice to accept a format string and args instead ofTom Lane
just a preformatted message; per suggestion by Sean Chittenden.
2003-06-21Get rid of extraneous newline in PQendcopy error output (was causingTom Lane
regression test diffs...).
2003-06-21Update libpq to make new features of FE/BE protocol available toTom Lane
client applications. Some editorial work on libpq.sgml, too.
2003-06-08libpq can now talk to either 3.0 or 2.0 protocol servers. It first triesTom Lane
protocol 3, then falls back to 2 if postmaster rejects the startup packet with an old-format error message. A side benefit of the rewrite is that SSL-encrypted connections can now be made without blocking. (I think, anyway, but do not have a good way to test.)