Bruce Momjian
b492c3accc
Add parentheses to macros when args are used in computations. Without
...
them, the executation behavior could be unexpected.
2005-05-25 21:40:43 +00:00
Bruce Momjian
09ff9dbe2b
Remove more extraneous parentheses in date/time functions.
2005-05-24 02:09:45 +00:00
Bruce Momjian
4550c1e519
More macro cleanups for date/time.
2005-05-23 21:54:02 +00:00
Bruce Momjian
5ebaae801c
Add datetime macros for constants, for clarity:
...
#define SECS_PER_DAY 86400
#define USECS_PER_DAY INT64CONST(86400000000)
#define USECS_PER_HOUR INT64CONST(3600000000)
#define USECS_PER_MINUTE INT64CONST(60000000)
#define USECS_PER_SEC INT64CONST(1000000)
2005-05-23 18:56:55 +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
Michael Meskes
9dc2e6deaf
Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in thread support.
2005-04-14 10:08:57 +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
Michael Meskes
1f418555cf
Added patch by Christof Petig <christof@petig-baender.de> to work around gcc bug on powerpc and amd64.
2005-03-18 10:00:43 +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
Michael Meskes
5cc8884a5d
Fixed changelog entry to list correct bug reporter.
2005-02-10 08:08:52 +00:00
Michael Meskes
7e786a82ca
Fixed more parsing bugs in other CREATE statements as pointed out by TANIDA
...
Yutaka <tanida@sra.co.jp>.
2005-02-10 08:06:35 +00:00
Michael Meskes
d32b3aec52
Fixed bug in parsing of CREATE AS statement.
2005-02-09 11:26:44 +00:00
Michael Meskes
4b56bd85c0
Fixed bug in parsing of #line statement in declare section.
2005-02-02 15:37:43 +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
Michael Meskes
d314616d12
Fixed segfault due to freeing a struct definition twice if it was a named struct used in a typedef.
2005-01-25 12:51:31 +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
d3d00715e2
interval_out failed to mention 'ago' for negative intervals in SQL and
...
GERMAN datestyles. Ancient bug reported by Terry Lee Tucker.
2005-01-11 18:33:46 +00:00
Michael Meskes
cc7cd8774a
Fixed segfault in adjust_informix due to missing varchar type.
2005-01-10 12:58:30 +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