Bruce Momjian
3b85fc3a52
Update pthread_self() on Win32 to return DWORD.
2005-08-28 21:42:28 +00:00
Bruce Momjian
8046c1c7e6
Use GetCurrentThreadId, per Magnus.
2005-08-28 18:49:01 +00:00
Bruce Momjian
0c172b215a
Add comment about pthread_self() cast.
2005-08-28 16:37:48 +00:00
Bruce Momjian
9cf18ee386
Add new file for win32 threading.
2005-08-23 21:11:22 +00:00
Bruce Momjian
43bf3a6bc6
The attached patch updates the thread test program to run stand-alone on
...
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
2005-08-23 21:02:05 +00:00
Bruce Momjian
a970a8cb95
Back out incorrect commit.
2005-08-23 20:48:47 +00:00
Bruce Momjian
eef7e30cc1
Fix function name.
2005-08-23 20:45:11 +00:00
Bruce Momjian
f810cfb291
Disable strtoul() ERANGE check on Win32, because it isn't thread safe,
...
and it isn't really required.
2005-08-13 01:34:30 +00:00
Tom Lane
8e9c52e427
EINTR return from connect() should be treated exactly the same as
...
EINPROGRESS, according to Florian Hars. I'm not completely convinced
but the spec does seem to read that way.
2005-08-11 22:53:41 +00:00
Bruce Momjian
d359facb05
Remove unintended file change.
2005-08-09 05:14:26 +00:00
Bruce Momjian
487b757b7a
Clarify wal_sync_method options in documentation.
2005-08-09 04:50:44 +00:00
Tom Lane
faea3db958
Fix libpq memory leak during PQreset() --- closePGconn() was not
...
freeing all transient state of the PGconn object.
2005-07-13 15:25:55 +00:00
Tom Lane
70f7da3e6e
Make libpq_gettext save and restore errno in a Windows-compatible way.
...
Also, back-patch fix into back branches.
2005-07-08 15:24:41 +00:00
Tom Lane
99382f4581
Save and restore errno across bindtextdomain call, per discussion.
2005-07-06 16:25:59 +00:00
Bruce Momjian
74b49a8129
Add E'' to internally created SQL strings that contain backslashes.
...
Improve code clarity by using macros for E'' processing.
2005-07-02 17:01:59 +00:00
Neil Conway
4714984149
Fix a theoretical memory leak in pg_password_sendauth(). If the first
...
malloc() succeeded but the second failed, the buffer allocated by the
first malloc() would be leaked. Fix this by allocating both buffers
via a single malloc(), as suggested by Tom.
Per Coverity static analysis performed by EnterpriseDB.
2005-06-30 01:59:20 +00:00
Neil Conway
a159ad3048
Remove support for Kerberos V4. It seems no one is using this, it has
...
some security issues, and upstream has declared it "dead". Patch from
Magnus Hagander, minor editorialization from Neil Conway.
2005-06-27 02:04:26 +00:00
Tom Lane
6f7fc0bade
Cause initdb to create a third standard database "postgres", which
...
unlike template0 and template1 does not have any special status in
terms of backend functionality. However, all external utilities such
as createuser and createdb now connect to "postgres" instead of
template1, and the documentation is changed to encourage people to use
"postgres" instead of template1 as a play area. This should fix some
longstanding gotchas involving unexpected propagation of database
objects by createdb (when you used template1 without understanding
the implications), as well as ameliorating the problem that CREATE
DATABASE is unhappy if anyone else is connected to template1.
Patch by Dave Page, minor editing by Tom Lane. All per recent
pghackers discussions.
2005-06-21 04:02:34 +00:00
Bruce Momjian
ba90268e2b
Add comment about \# in bcc makefiles.
2005-06-19 13:14:20 +00:00
Bruce Momjian
624789d191
Cleanup for Win32 compile.
...
Andreas Pflug
2005-06-19 13:10:56 +00:00
Tom Lane
a2fb7b8a1f
Adjust lo_open() so that specifying INV_READ without INV_WRITE creates
...
a descriptor that uses the current transaction snapshot, rather than
SnapshotNow as it did before (and still does if INV_WRITE is set).
This means pg_dump will now dump a consistent snapshot of large object
contents, as it never could do before. Also, add a lo_create() function
that is similar to lo_creat() but allows the desired OID of the large
object to be specified. This will simplify pg_restore considerably
(but I'll fix that in a separate commit).
2005-06-13 02:26:53 +00:00
Neil Conway
294505e2b1
This patch removes some old code from libpq that implements a URI-like
...
syntax for database connection parameters. It has been inside an
#ifdef NOT_USED block since 2001 or so and is marked as "broken", so
I don't think it is likely to be rehabilitated any time soon.
2005-06-12 00:07:07 +00:00
Neil Conway
72a5db15d1
libpq was not consistently checking for memory allocation failures. This
...
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.
2005-06-12 00:00:21 +00:00
Bruce Momjian
c1e4869467
Remove unneeded variable test, per Tom.
2005-06-10 04:01:36 +00:00
Bruce Momjian
453d74b99c
Add the "PGPASSFILE" environment variable to specify to the password
...
file.
Andrew Dunstan
2005-06-10 03:02:30 +00:00
Tom Lane
3ace84594e
Defend against omitted paramLengths[] array in PQsendQueryParams.
...
Per Volkan Yazici.
2005-06-09 20:01:16 +00:00
Bruce Momjian
72c53ac3a7
Allow kerberos name and username case sensitivity to be specified from
...
postgresql.conf.
---------------------------------------------------------------------------
Here's an updated version of the patch, with the following changes:
1) No longer uses "service name" as "application version". It's instead
hardcoded as "postgres". It could be argued that this part should be
backpatched to 8.0, but it doesn't make a big difference until you can
start changing it with GUC / connection parameters. This change only
affects kerberos 5, not 4.
2) Now downcases kerberos usernames when the client is running on win32.
3) Adds guc option for "krb_caseins_users" to make the server ignore
case mismatch which is required by some KDCs such as Active Directory.
Off by default, per discussion with Tom. This change only affects
kerberos 5, not 4.
4) Updated so it doesn't conflict with the rendevouz/bonjour patch
already in ;-)
Magnus Hagander
2005-06-04 20:42:43 +00:00
Neil Conway
f38e413b20
Code cleanup: in C89, there is no point casting the first argument to
...
memset() or MemSet() to a char *. For one, memset()'s first argument is
a void *, and further void * can be implicitly coerced to/from any other
pointer type.
2005-05-11 01:26:02 +00:00
Bruce Momjian
bd9b2fa84b
Add comments on WSAStartup usage.
2005-05-05 16:40:42 +00:00
Bruce Momjian
3731a400b4
Add WSACleanup() for Win32 socket cleanup.
...
Jason Erickson
2005-05-05 16:36:12 +00:00
Bruce Momjian
16d4418bf5
Fix BCC to not define compiler location.
2005-04-30 04:00:07 +00:00
Bruce Momjian
930dd70992
Improve cleanup from win32 client-only build.
2005-04-29 14:07:27 +00:00
Bruce Momjian
7cebfdf211
Backpatch BCC compile changes to 8.0.X for psql.
2005-04-29 13:42:21 +00:00
Tom Lane
e6befdc9d1
Kerberos fixes from Magnus Hagander --- in theory Kerberos 5 auth
...
should work on Windows now. Also, rename set_noblock to pg_set_noblock;
since it is included in libpq, the former name polluted application
namespace.
2005-03-25 00:34:31 +00:00
Bruce Momjian
2b0bb797ec
Bump minor version numbers for 8.1 compared to 8.0.
2005-03-14 17:27:50 +00:00
Bruce Momjian
caad817d1c
Add fprintf() custom version to libpgport.
...
Document use of macros for pg_printf functions.
Bump major versions of all interfaces to handle movement of get_progname
from libpq to libpgport in 8.0, and probably other libpgport changes in 8.1.
2005-03-11 19:13:43 +00:00
Neil Conway
30c1aa06bc
Replace an instance of $Id$ and an instance of $Header$ with $PostgreSQL$
2005-03-07 22:59:43 +00:00
Bruce Momjian
61b640e35c
Properly implement "Response files" for bcc. Add URL's to describe the
...
feature for Win32 and bcc.
2005-03-07 21:10:58 +00:00
Bruce Momjian
517872c566
Because the change to gettext. Needs a bunch of new includes. Patch
...
follows:
Magnus Hagander
2005-02-27 22:57:17 +00:00
Bruce Momjian
c5a7a6a3dc
Tab indent all actions in bcc32.mak, and do it on win32.mak too for
...
consistency. Backpatch only bcc32.mak to 8.0.X.
2005-02-27 22:39:52 +00:00
Bruce Momjian
33b92a78da
Add linking from /port to bcc makefile.
2005-02-25 15:57:33 +00:00
Bruce Momjian
0542b1e2fe
Use _() macro consistently rather than gettext(). Add translation
...
macros around strings that were missing them.
2005-02-22 04:43:23 +00:00
Bruce Momjian
1808ce7865
Try to get Borland CC to compile.
...
Backpatch to 8.0.X which doesn't work right now.
2005-02-21 21:22:32 +00:00
Tom Lane
889f038129
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
...
APPDATA directory on Windows. Magnus Hagander
2005-01-26 19:24:03 +00:00
Bruce Momjian
31197bbdf5
Update version stamps for 8.1 as listed in RELEASE_CHANGES.
2005-01-18 05:00:35 +00:00
Peter Eisentraut
83ef003f2c
Translation updates
2005-01-17 02:41:50 +00:00
Peter Eisentraut
75112d4b5d
Translation updates
2005-01-14 08:57:06 +00:00
Bruce Momjian
29e58330a6
Change Win32 client configuration files from *.txt to *.conf.
2005-01-14 00:25:56 +00:00
Peter Eisentraut
66d8165a8b
Translation updates
2005-01-13 21:24:40 +00:00
Tom Lane
40f32f351a
Add conditional inclusion of <com_err.h> to support old 'heimdal'
...
version of Kerberos. Per report from Reinhard Max.
2005-01-12 21:37:54 +00:00
Tom Lane
a54ea1f75e
Comment out check for substitution of private key file on Windows,
...
since st_ino can't be trusted on that platform. Per report from T.J.
2005-01-10 00:37:12 +00:00
Tom Lane
8e4f4078d8
Un-break MSVC build, per Andrew Dunstan.
2005-01-10 00:19:51 +00:00
Peter Eisentraut
a58e738cd7
Translation updates
2005-01-09 17:32:05 +00:00
Tom Lane
8afe005f42
Consistently use geteuid() not getuid(); there were a few places deviating
...
from our long-established standard.
2005-01-08 22:51:15 +00:00
Tom Lane
bbeeea1437
Minor mop-up for Windows home-directory stuff, per Magnus.
2005-01-06 21:41:45 +00:00
Tom Lane
4717992b4e
Instead of a bare recv() to read the server's response to an SSL
...
request packet, use pqReadData(). This has the same effect since
conn->ssl isn't set yet and we aren't expecting more than one byte.
The advantage is that we will correctly detect loss-of-connection
instead of going into an infinite loop. Per report from Hannu Krosing.
2005-01-06 20:06:58 +00:00
Tom Lane
a3f98d5795
Adjust lookup of client-side profile files (.pgpass and so on) as per
...
discussion on pgsql-hackers-win32 list. Documentation still needs to
be tweaked --- I'm not sure how to refer to the APPDATA folder in
user documentation.
2005-01-06 18:29:11 +00:00
Dennis Bjorklund
b8139ea397
Translation updates
2005-01-06 12:23:33 +00:00
Peter Eisentraut
381de28eb0
Translation updates
2005-01-06 09:07:17 +00:00
Tom Lane
d97ae8230e
Make the various places that determine the user's "home directory"
...
consistent. On Unix we now always consult getpwuid(); $HOME isn't used
at all. On Windows the code currently consults $USERPROFILE, or $HOME
if that's not defined, but I expect this will change as soon as the win32
hackers come to a consensus. Nothing done yet about changing the file
names used underneath $USERPROFILE.
2005-01-06 01:00:12 +00:00
Tom Lane
edf3832b5c
Clean up code in libpq that obtains user's home directory: make a single
...
subroutine that can hide platform dependencies. The WIN32 path is still
a stub, but I await a fix from one of the win32 hackers.
Also clean up unnecessary #ifdef WIN32 ugliness in a couple of places.
2005-01-04 23:18:25 +00:00
Tom Lane
a17e589046
Adjust a few more copyright notices to match the format expected by
...
the src/tools/copyright script.
2005-01-01 22:14:33 +00:00
Tom Lane
7e1c8ef4fc
Some more missed copyright notices. Many of these look like they
...
should have been caught by the src/tools/copyright script ... why
weren't they?
2005-01-01 20:44:34 +00:00
PostgreSQL Daemon
2ff501590b
Tag appropriate files for rc3
...
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 ...
2004-12-31 22:04:05 +00:00
Tom Lane
d9236a69fc
Make libpq default to localhost connections on machines without Unix-domain
...
sockets, rather than failing as it formerly did. Revert the
thereby-obsoleted patch to make psql supply the localhost default.
2004-12-28 23:17:54 +00:00
Tom Lane
f0cbfcd399
Patch to make libpq.rc be a built-for-distribution file was a few
...
bricks shy of a load.
2004-12-21 02:14:41 +00:00
Tom Lane
da59a70c09
Remove direct inclusions of <com_err.h> as well as configure test for
...
its presence. This amounts to desupporting Kerberos 5 releases 1.0.*,
which is small loss, and simplifies use of our Kerberos code on platforms
with Red-Hat-style include file layouts. Per gripe from John Gray and
followup discussion.
2004-12-20 17:13:41 +00:00
Bruce Momjian
9af9320750
Add Win32 version stamps that increment each day for proper SYSTEM32
...
DLL pginstaller installs.
2004-12-19 02:16:31 +00:00
Peter Eisentraut
5483936ed3
New translations
2004-12-13 16:30:53 +00:00
Peter Eisentraut
373825c9cd
Translation updates
2004-12-12 18:09:18 +00:00
Peter Eisentraut
4de679c710
Translation updates
2004-12-11 19:45:34 +00:00
Peter Eisentraut
10e960fb39
Translation updates
2004-12-11 19:09:08 +00:00
Peter Eisentraut
022a00b5f3
Translation updates
2004-12-11 19:03:49 +00:00
Bruce Momjian
9ef75bb21c
Fix compile breakage from SIGPIPE fix for threading.
2004-12-03 01:58:43 +00:00
Tom Lane
5d7a555d0f
Code review for recent libpq changes. Be more careful about error
...
handling in SIGPIPE processing; avoid unnecessary pollution of application
link-symbol namespace; spell 'pointer to function' in the conventional
way.
2004-12-02 23:20:21 +00:00
Bruce Momjian
8408f65252
Rework libpq threaded SIGPIPE handling to avoid interference with
...
calling applications. This is done by blocking sigpipe in the libpq
thread and using sigpending/sigwait to possibily discard any sigpipe we
generated.
2004-12-02 15:32:54 +00:00
Bruce Momjian
ee9007a2e1
Allow libpq to build on MS Visual Studio .NET 2003 on Windows XP.
2004-12-01 23:42:26 +00:00
Tom Lane
a34d76ef65
Fix up makefile dependencies for pg_config_paths.h.
2004-11-20 21:13:06 +00:00
Tom Lane
e719591ea3
Make sure we produce a useful error message for the case where the
...
postgresql.crt file simply isn't there, too.
2004-11-20 00:35:13 +00:00
Tom Lane
7506677b62
Improve error reporting for SSL connection failures. Remove redundant
...
free operations in client_cert_cb --- openssl will also attempt to free
these structures, resulting in core dumps.
2004-11-20 00:18:18 +00:00
Tom Lane
5d72ef83fd
Miscellaneous Cygwin build fixes from Reini Urban.
2004-11-17 17:46:24 +00:00
Peter Eisentraut
8a1821ab5b
Translation update
2004-11-16 22:58:44 +00:00
Bruce Momjian
1c5125adf3
Not entirely sure when this broke, but libpq's VC++ build is currently
...
lacking pqsignal which is now required. This was found and fixed for
VC++ by Shachar Shemesh, I simply duplicated the fix for the Borland
makefile (untested, as I don't have that compiler).
Dave Page
2004-11-13 03:18:50 +00:00
Peter Eisentraut
e9c05281b5
Get rid of perror(), substitute some better phrased error messages.
...
malloc() doesn't set errno, so most uses were buggy anyway.
2004-11-09 15:57:57 +00:00
Peter Eisentraut
1813d94664
Translation updates
2004-11-09 14:46:37 +00:00
Peter Eisentraut
58b33f2e85
Translation updates
2004-11-07 23:28:20 +00:00
Peter Eisentraut
bb2d1ce8f1
Translation updates
2004-11-02 09:28:41 +00:00
Peter Eisentraut
005b1b5fc8
Translation updates
2004-11-02 09:20:22 +00:00
Tom Lane
44e8a968e3
Invent a new, more thread-safe version of PQrequestCancel, called PQcancel.
...
Use this new function in psql. Implement query cancellation in psql for
Windows. Code by Magnus Hagander, documentation and minor editorialization
by Tom Lane.
2004-10-30 23:11:27 +00:00
Peter Eisentraut
e5ac8db035
Translation update
2004-10-30 08:23:32 +00:00
Bruce Momjian
4eb1165ff3
No need to set errorMessage length --- already set in goto target.
2004-10-29 19:30:02 +00:00
Bruce Momjian
08510856a4
Set errorMessage length in PQrequestCancel() in all places.
2004-10-29 17:53:13 +00:00
Peter Eisentraut
94c502f1db
Translation updates
2004-10-28 09:01:06 +00:00
Peter Eisentraut
fc4cfc366d
Translation updates
2004-10-28 08:54:09 +00:00
Peter Eisentraut
ad6b3975c9
Translation updates
2004-10-27 11:22:18 +00:00
Peter Eisentraut
cd92d85d11
Translation updates
2004-10-27 11:09:33 +00:00
Peter Eisentraut
979b0be4c3
Translation updates
2004-10-27 10:22:47 +00:00
Peter Eisentraut
eb7fc3eb1f
Translation updates
2004-10-27 10:13:49 +00:00
Dennis Bjorklund
26149e9738
Translation updates
2004-10-22 13:49:15 +00:00
Tom Lane
7627b91cd5
Set the close-on-exec flag for libpq's socket to the backend, to avoid
...
any possible problems from child programs executed by the client app.
Per suggestion from Elliot Lee of Red Hat.
2004-10-21 20:23:19 +00:00
Tom Lane
380bd04c16
Standardize on using the Min, Max, and Abs macros that are in our c.h file,
...
getting rid of numerous ad-hoc versions that have popped up in various
places. Shortens code and avoids conflict with Windows min() and max()
macros.
2004-10-21 19:28:36 +00:00
Tom Lane
9d9cfb1ad7
Add PQprepare/PQsendPrepared functions to libpq to support preparing
...
statements without necessarily specifying the datatypes of their parameters.
Abhijit Menon-Sen with some help from Tom Lane.
2004-10-18 22:00:42 +00:00
Peter Eisentraut
2f2121ffbe
Translation updates
2004-10-17 21:05:03 +00:00
Tom Lane
cc6a90e4af
Remove dllist.c from libpq. It's overkill for what libpq needs; we can
...
just stick a list-link into struct PGnotify instead. Result is a smaller
faster and more robust library (mainly because we reduce the number of
malloc's and free's involved in notify processing), plus less pollution
of application link-symbol namespace.
2004-10-16 22:52:55 +00:00
Tom Lane
2a63c1602d
Generate the various .def files for libpq DLLs from a single list of
...
exportable functions. The .def files are removed from CVS, but will
still be present in distribution tarballs, since we can't assume that
Windows boxes will have sed.
2004-10-16 20:10:57 +00:00
Bruce Momjian
c7add816f5
Export only required symbols in libpq on Win32.
...
Magnus Hagander
2004-10-16 03:26:43 +00:00
Bruce Momjian
88fd162ef6
Allow pg_ctl to determine the server is up when getting a request for a
...
password.
Make password error message a #define and use it consistently.
Sean Chittenden
2004-10-16 03:10:17 +00:00
Peter Eisentraut
0fd37839d9
Message style revisions
2004-10-12 21:54:45 +00:00
Neil Conway
0b112045b7
Fix vpath build break, induced by Bruce's recent commit.
2004-10-12 04:48:36 +00:00
Bruce Momjian
29e7dc420a
Add some pg_config_path.h dependencies for places that include
...
pg_config_paths.h outside of /src/port.
2004-10-12 01:04:11 +00:00
Bruce Momjian
48018da7ce
The Win32 (mingw) build of libpq seems to have lost it's SSL libs from
...
the link step resulting in a build failure. The attached patch fixes
that.
Dave Page
2004-10-06 16:42:01 +00:00
Bruce Momjian
a992bd8c6d
Another tightening of Win32 typedefs.
2004-10-05 15:09:41 +00:00
Bruce Momjian
ee7de3d662
Make sure no libs use libpgport by removing it from the link line.
2004-10-04 20:36:12 +00:00
Peter Eisentraut
8d5ff6bad1
Translation update
2004-10-03 20:29:24 +00:00
Peter Eisentraut
0654f0f669
Translation updates
2004-10-03 20:24:26 +00:00
Bruce Momjian
1ad6878276
Revert patch that removed BUFSIZ usage. The memory has to hold the
...
structures plus pointers used by the structure.
2004-09-28 00:07:01 +00:00
Bruce Momjian
b534a5605f
Remove use of large BUFSIZ for buffers and use the proper struct sizes.
...
This greatly helps threaded libpq programs.
2004-09-27 23:39:14 +00:00
Bruce Momjian
e1c8b37afb
Add new macro as shorthand for MS VC and Borland C++:
...
+ #if defined(_MSC_VER) || defined(__BORLANDC__)
+ #define WIN32_CLIENT_ONLY
+ #endif
2004-09-27 23:24:45 +00:00
Peter Eisentraut
353b70aef3
Translation updates
2004-09-27 20:26:03 +00:00
Tom Lane
7ac258c2f3
Fix multiple breakages in our support for SSL certificates.
2004-09-26 22:51:49 +00:00
Bruce Momjian
786f3d147d
Here is a patch that adds the version info from libpq.rc to the DLL
...
build in mingw. The MSVC build already did this, but it was not linked
into the mingw one.
This is not the same as the versioninfo patch that's in the queue.
Please apply this one before beta-3 if at all possible.
Magnus Hagander
2004-09-26 02:14:47 +00:00
Bruce Momjian
e9ec10494e
Use <> not "" for include of pthread.h.
2004-09-26 01:40:55 +00:00
Tom Lane
fb147dc30e
If we're going to print unrecognized result codes from SSL_get_error
...
in open_client_SSL, surely we should do it everywhere. Also make
message formatting conform to style guide.
2004-09-23 20:27:50 +00:00
Bruce Momjian
fb755b6dd4
This patch logs the error code in the default case, so that the user
...
stands a chance of looking it up. "Unrecognised error" is always
disheartening. :-)
Dominic Mitchell
2004-09-23 13:20:45 +00:00
Peter Eisentraut
fbbdfa413e
Translation update
2004-09-20 08:15:29 +00:00
Peter Eisentraut
398d4822a4
Translation updates
2004-09-20 07:57:14 +00:00
Peter Eisentraut
cb2a8a9e00
Translation updates
2004-09-20 07:49:54 +00:00
Peter Eisentraut
fa942e8010
Translation updates
2004-09-20 07:44:42 +00:00
Peter Eisentraut
95c034e311
Translation updates
2004-09-13 12:35:18 +00:00
Dennis Bjorklund
877aa19211
Translation updates
2004-09-09 06:46:57 +00:00
Dennis Bjorklund
65f35065f4
Some source files was not scanned for translatable strings.
2004-09-09 06:32:13 +00:00
Bruce Momjian
8cef6ae522
Remove pg_config_paths.h from libpq *.mak builds so later MinGW builds
...
will succeed.
2004-09-02 02:02:02 +00:00
Bruce Momjian
4fa8b44749
Realign libpq and psql for need for path.c under Win32 VC and BCC.
2004-09-01 23:35:16 +00:00
Bruce Momjian
15d3f9f6b7
Another pgindent run with lib typedefs added.
2004-08-30 02:54:42 +00:00
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
Bruce Momjian
da9a8649d8
Update copyright to 2004.
2004-08-29 04:13:13 +00:00
Bruce Momjian
84f878f5cd
Don't use get_home_path so libpq doesn't pull path.c into the library.
2004-08-19 00:00:34 +00:00
Tom Lane
76dd2333d5
Clean up some random departures from project's standard declaration style.
2004-08-18 19:27:13 +00:00
Bruce Momjian
1abf13db3c
Add get_home_path() to use USERPROFILE on Win32 and HOME on Unix.
2004-08-18 02:59:12 +00:00
Bruce Momjian
3f0fa93cfc
Chain on to SIGPIPE handler rather than just do action on default.
...
Always create thread-specific variable.
2004-08-17 16:54:47 +00:00
Tom Lane
109d7aff73
Fix linking problem when enabling thread safety on Darwin: uninitialized
...
global variables are problematic on this platform. Simplest solution
seems to be to initialize pthread key variable to 0. Also, rename this
variable and check_sigpipe_handler to something involving "pq" to
avoid gratuitous pollution of application namespace.
2004-08-17 04:24:23 +00:00
Bruce Momjian
26fc9b655b
Move io.h include higher in the file so it doesn't conflict with
...
rename/unlink defined later. Problem exists on MS VC.
Andrew Francis
2004-08-17 02:44:13 +00:00
Tom Lane
2820f05ef9
Specify SA_NOCLDSTOP when enabling SIGCHLD, per suggestion from
...
Oliver Jowett.
2004-08-15 05:25:10 +00:00
Tom Lane
f79fbb2bec
Add PQserverVersion() to libpq to provide more-convenient access to
...
the server version number. This commit also removes bogus DOS line
endings from libpqddll.def.
Greg Sabino Mullane
2004-08-11 18:06:01 +00:00
Peter Eisentraut
f781ed4ed8
Translation updates
2004-08-10 19:06:21 +00:00
Peter Eisentraut
742781bdab
Translation updates
2004-08-10 18:42:22 +00:00
Bruce Momjian
b942e8700f
Stamp libpq.rc with 8.0 version.
2004-08-09 01:55:42 +00:00
Tom Lane
fcbc438727
Label CVS tip as 8.0devel instead of 7.5devel. Adjust various comments
...
and documentation to reference 8.0 instead of 7.5.
2004-08-04 21:34:35 +00:00
Peter Eisentraut
630bfcd10c
Translation updates
2004-08-02 15:17:21 +00:00
Peter Eisentraut
ee2bfaa3aa
Translation updates (zh_TW converted to UTF-8)
2004-08-01 17:54:22 +00:00