| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
o remove many WIN32_CLIENT_ONLY defines
o add WIN32_ONLY_COMPILER define
o add 3rd argument to open() for portability
o add include/port/win32_msvc directory for
system includes
Magnus Hagander
|
|
|
|
| |
in port/pg_config_paths.h.
|
| |
|
| |
|
|
|
|
|
|
| |
rather than "return expr;" -- the latter style is used in most of the
tree. I kept the parentheses when they were necessary or useful because
the return expression was complex.
|
|
|
|
|
|
|
|
|
| |
comment line where output as too long, and update typedefs for /lib
directory. Also fix case where identifiers were used as variable names
in the backend, but as typedefs in ecpg (favor the backend for
indenting).
Backpatch to 8.1.X.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Windows. The test itself is bypassed in configure as discussed, and
libpq has been updated appropriately to allow it to build in thread-safe
mode.
Dave Page
|
| |
|
| |
|
|
|
|
| |
Also, back-patch fix into back branches.
|
| |
|
|
|
|
|
|
|
| |
patch adds missing checks to the call sites of malloc(), strdup(),
PQmakeEmptyPGresult(), pqResultAlloc(), and pqResultStrdup(), and updates
the documentation. Per original report from Volkan Yazici about
PQmakeEmptyPGresult() not checking for malloc() failure.
|
|
|
|
| |
macros around strings that were missing them.
|
|
|
|
|
|
|
|
| |
Also performed an initial run through of upgrading our Copyright date to
extend to 2005 ... first run here was very simple ... change everything
where: grep 1996-2004 && the word 'Copyright' ... scanned through the
generated list with 'less' first, and after, to make sure that I only
picked up the right entries ...
|
|
|
|
|
|
| |
+ #if defined(_MSC_VER) || defined(__BORLANDC__)
+ #define WIN32_CLIENT_ONLY
+ #endif
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
environment variable processing to libpq.
The patch also adds code to our client apps so we set the environment
variable directly based on our binary location, unless it is already
set. This will allow our applications to emit proper locale messages
that are generated in libpq.
|
|
|
|
| |
Adjust get_*_path functions to be limited to MAXPGPATH.
|
|
|
|
|
| |
Still some works needed:
- UTF-8, MULE_INTERNAL always returns 1
|
| |
|
|
|
|
|
|
| |
data, and both have filled the transmission buffers. One scenario where
this can happen was illustrated here:
http://archives.postgresql.org/pgsql-hackers/2003-04/msg00979.php
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
just a preformatted message; per suggestion by Sean Chittenden.
|
|
|
|
| |
client applications. Some editorial work on libpq.sgml, too.
|
|
|
|
| |
Lee Kindness
|
|
|
|
|
|
| |
Compiles on BCC 5.5 and VC++ 6.0 (with warnings).
Karl Waclawek
|
| |
|
|
|
|
|
|
| |
Also quickly added mention that it may be a qualified schema name.
Rod Taylor
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
it, and map that to close() on Unix.
|
|
|
|
|
|
|
|
|
|
| |
have length words. COPY OUT reimplemented per new protocol: it doesn't
need \. anymore, thank goodness. COPY BINARY to/from frontend works,
at least as far as the backend is concerned --- libpq's PQgetline API
is not up to snuff, and will have to be replaced with something that is
null-safe. libpq uses message length words for performance improvement
(no cycles wasted rescanning long messages), but not yet for error
recovery.
|
|
|
|
| |
have length counts, and COPY IN data is packetized into messages.
|
|
|
|
| |
machines without IPv6. Or at least it works on HPUX 10.20 ...
|
|
|
|
|
|
| |
problems in applications that may have a large number of files open,
such that libpq's socket number exceeds the range supported by fd_set.
From Chris Brown.
|
|
|
|
| |
much enthusiasm.
|
|
|
|
|
|
| |
that tv_sec is signed; return a useful error message on timeout failure;
honor PGCONNECT_TIMEOUT environment variable in PQsetdbLogin; make code
obey documentation statement that timeout=0 means no timeout.
|
|
|
|
| |
Code cleanup.
|
| |
|
| |
|
|
|
|
| |
clear on that point.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
client
utilities (libpq.dll and psql.exe) for win32 (missing defines,
adjustments to
includes, pedantic casting, non-existent functions) per:
http://developer.postgresql.org/docs/postgres/install-win32.html.
It compiles cleanly under Windows 2000 using Visual Studio .net. Also
compiles clean and passes all regression tests (regular and contrib)
under Linux.
In addition to a review by the usual suspects, it would be very
desirable for someone well versed in the peculiarities of win32 to take
a look.
Joe Conway
|
| |
|