3ace84594e
Defend against omitted paramLengths[] array in PQsendQueryParams.
...
Per Volkan Yazici.
2005-06-09 20:01:16 +00:00
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
2d5d691d15
- Fixed memory leak in ecpglib by adding some missing free() commands.
...
- Added patch by Gavin Scott <gavin@planetacetech.com > for Intel 64bit hardware.
2005-06-02 12:35:11 +00:00
d4b50caf25
Display only 9 subsecond digits instead of 10 for time values, for
...
consistency and to prevent rounding for days < 30. Also round off all
trailing zeros, rather than leaving an even number of digits.
2005-05-27 21:31:23 +00:00
fbdb203a39
Back out part of patch that should be applied later.
2005-05-27 15:16:45 +00:00
22f0303023
Fix compile of entab to use stdarg.h. Clean up includes.
...
Marko Kreen
2005-05-27 15:15:31 +00:00
1b3bb23cc8
Use Abs() macro to replace ? :.
2005-05-26 16:44:05 +00:00
f35d493d16
Back out:
...
Display only 9 not 10 digits of precision for timestamp values when
using non-integer timestamps. This prevents the display of rounding
errors for common values like days < 32.
2005-05-26 15:26:00 +00:00
4c862b18f9
Display only 9 not 10 digits of precision for timestamp values when
...
using non-integer timestamps. This prevents the display of rounding
errors for common values like days < 32.
2005-05-26 03:48:25 +00:00
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
09ff9dbe2b
Remove more extraneous parentheses in date/time functions.
2005-05-24 02:09:45 +00:00
4550c1e519
More macro cleanups for date/time.
2005-05-23 21:54:02 +00:00
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
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
bd9b2fa84b
Add comments on WSAStartup usage.
2005-05-05 16:40:42 +00:00
3731a400b4
Add WSACleanup() for Win32 socket cleanup.
...
Jason Erickson
2005-05-05 16:36:12 +00:00
16d4418bf5
Fix BCC to not define compiler location.
2005-04-30 04:00:07 +00:00
930dd70992
Improve cleanup from win32 client-only build.
2005-04-29 14:07:27 +00:00
7cebfdf211
Backpatch BCC compile changes to 8.0.X for psql.
2005-04-29 13:42:21 +00:00
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
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
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
2b0bb797ec
Bump minor version numbers for 8.1 compared to 8.0.
2005-03-14 17:27:50 +00:00
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
30c1aa06bc
Replace an instance of $Id$ and an instance of $Header$ with $PostgreSQL$
2005-03-07 22:59:43 +00:00
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
517872c566
Because the change to gettext. Needs a bunch of new includes. Patch
...
follows:
Magnus Hagander
2005-02-27 22:57:17 +00:00
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
33b92a78da
Add linking from /port to bcc makefile.
2005-02-25 15:57:33 +00:00
0542b1e2fe
Use _() macro consistently rather than gettext(). Add translation
...
macros around strings that were missing them.
2005-02-22 04:43:23 +00:00
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
5cc8884a5d
Fixed changelog entry to list correct bug reporter.
2005-02-10 08:08:52 +00:00
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
d32b3aec52
Fixed bug in parsing of CREATE AS statement.
2005-02-09 11:26:44 +00:00
4b56bd85c0
Fixed bug in parsing of #line statement in declare section.
2005-02-02 15:37:43 +00:00
889f038129
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
...
APPDATA directory on Windows. Magnus Hagander
2005-01-26 19:24:03 +00:00
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
31197bbdf5
Update version stamps for 8.1 as listed in RELEASE_CHANGES.
2005-01-18 05:00:35 +00:00
83ef003f2c
Translation updates
2005-01-17 02:41:50 +00:00
75112d4b5d
Translation updates
2005-01-14 08:57:06 +00:00
29e58330a6
Change Win32 client configuration files from *.txt to *.conf.
2005-01-14 00:25:56 +00:00
66d8165a8b
Translation updates
2005-01-13 21:24:40 +00:00
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
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
cc7cd8774a
Fixed segfault in adjust_informix due to missing varchar type.
2005-01-10 12:58:30 +00:00
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
8e4f4078d8
Un-break MSVC build, per Andrew Dunstan.
2005-01-10 00:19:51 +00:00
a58e738cd7
Translation updates
2005-01-09 17:32:05 +00:00
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
bbeeea1437
Minor mop-up for Windows home-directory stuff, per Magnus.
2005-01-06 21:41:45 +00:00