Bruce Momjian
9b1854f16e
Update ecpg regresison output for new library version number.
2007-01-05 22:43:17 +00:00
Bruce Momjian
29dccf5fe0
Update CVS HEAD for 2007 copyright. Back branches are typically not
...
back-stamped for this.
2007-01-05 22:20:05 +00:00
Bruce Momjian
1c3b43cddd
Stamp major release 8.3.0, and increment library version numbers.
2007-01-05 20:54:43 +00:00
Tom Lane
36b8706236
Revert exports.list change pending closer study.
2006-12-28 00:01:05 +00:00
Tom Lane
65b541b38f
Use a more backward-compatible syntax for exports.list on Linux.
...
Per Thorkil Olesen.
2006-12-27 23:53:13 +00:00
Andrew Dunstan
5133dd786b
Interpret a dbName param to PQsetdbLogin as a conninfo string if it contains an = sign. Tom Lane and Andrew Dunstan.
2006-12-19 01:53:36 +00:00
Bruce Momjian
1e22e60505
Patch of Win32 Encoding problem for server messages using
...
FormatMessage() (This should have been in 8.2.0, patched to 8.2.X and
HEAD):
I think this problem to be complex....
http://archives.postgresql.org/pgsql-hackers/2006-11/msg00042.php
FormatMessage of windows cannot consider the encoding of the database.
However, I should try the solution now. It is necessary to clear the
problem.
Multi character-code exists together in message and log. It doesn't
consider
the data base encoding that the user intended....
The user in multi-byte country can try this.
http://inet.winpg.jp/~saito/pg_bug/MessageCheck.c
That is, it is likely to become it in this manner.(Japanese)
http://inet.winpg.jp/~saito/pg_bug/FormatMessage998.png
Hiroshi Saito
2006-12-04 22:23:40 +00:00
Peter Eisentraut
339483928d
Translation updates
2006-12-02 01:16:16 +00:00
Alvaro Herrera
cf06c2e5d4
Fix Makefile problem which prevented installation on VPATH builds.
2006-11-29 21:21:03 +00:00
Michael Meskes
09309df9a2
Also install ecpg_config.h
2006-11-28 12:44:06 +00:00
Peter Eisentraut
2c82df2a06
Translation updates
2006-11-24 17:11:57 +00:00
Tom Lane
ce3d1a4fbc
Un-break ecpg regression test.
2006-11-23 05:47:48 +00:00
Bruce Momjian
956c2d6683
Make ecpg test variable 'times' static so as not to conflict with libc
...
symbol.
2006-11-23 04:38:01 +00:00
Tom Lane
617f123f06
Get rid of retail definitions of HAVE_STRDUP and HAVE_VSNPRINTF in
...
some of the Windows-only makefiles; the correct place to assert these
things is pg_config.h.win32. Per bug #2677 .
2006-11-21 23:26:47 +00:00
Tom Lane
bcd713a618
If SSL negotiation fails and SSLMODE is 'prefer', then retry without SSL.
...
Negotiation failure is only likely to happen if one side or the other is
misconfigured, eg. bad client certificate. I'm not 100% convinced that
a retry is really the best thing, hence not back-patching this fix for now.
Per gripe from Sergio Cinos.
2006-11-21 16:28:00 +00:00
Michael Meskes
0c96e42797
Applied patch by Peter Harris to free auto_mem structure on connect
2006-11-08 10:46:47 +00:00
Michael Meskes
a09f9ff649
Small parser sync
2006-10-23 08:00:48 +00:00
Peter Eisentraut
9c2c41646a
Translations update
2006-10-21 21:03:04 +00:00
Tom Lane
14914e0d33
Fix unexpected side-effect of changes for case insensitivity of timezone names.
2006-10-17 02:21:46 +00:00
Bruce Momjian
ed95aea27d
MSVC/BCC Win32 compiler fixes.
...
Hiroshi Saito
2006-10-10 21:31:44 +00:00
Peter Eisentraut
b9b4f10b5b
Message style improvements
2006-10-06 17:14:01 +00:00
Michael Meskes
fcc2fbac22
Reverted changes made by pgindent
...
Made show.pgc set all variables before displaying them.
2006-10-04 10:09:03 +00:00
Bruce Momjian
f99a569a2e
pgindent run for 8.2.
2006-10-04 00:30:14 +00:00
Tom Lane
db2dcf58be
Make some marginal performance improvements in reportErrorPosition(),
...
which turns out to be a dominant part of the runtime in scenarios
involving lots of parse-time warnings (such as Stephen Frost's example
of an INSERT with a lot of backslash-containing strings). There's not
a whole lot we can do about the character-at-a-time scanning, but we
can at least avoid traversing the query twice.
2006-10-01 22:25:48 +00:00
Tom Lane
062421defb
Fix a couple other places that need to know about (some) src/port/ files
...
explicitly.
2006-09-28 14:48:45 +00:00
Tom Lane
85bbd549d8
Oops, forgot that libpq needs extra steps to make use of src/port/ files.
2006-09-27 21:29:17 +00:00
Tom Lane
9ba4065312
Remove separate strdup.h header file; it's redundant with port.h.
2006-09-27 15:41:24 +00:00
Michael Meskes
2c660c61cf
Added new files
2006-09-26 09:07:31 +00:00
Michael Meskes
9897e35c56
Added Joachim's changes for MinGW.
...
Added SET DATESTYLE to one test so the output format is defined.
2006-09-26 07:56:57 +00:00
Tom Lane
beca984e5f
Fix bugs in plpgsql and ecpg caused by assuming that isspace() would only
...
return true for exactly the characters treated as whitespace by their flex
scanners. Per report from Victor Snezhko and subsequent investigation.
Also fix a passel of unsafe usages of <ctype.h> functions, that is, ye olde
char-vs-unsigned-char issue. I won't miss <ctype.h> when we are finally
able to stop using it.
2006-09-22 21:39:58 +00:00
Tom Lane
9b5e108ee9
Fix shared library creation to work properly on AIX. Albe Laurenz
2006-09-19 15:36:08 +00:00
Tom Lane
a22de540cf
Fix some uses of str[n]casecmp that should be pg_str[n]casecmp,
...
per Magnus.
2006-09-15 21:34:23 +00:00
Michael Meskes
4eef745fb1
Cygwin systems seem to have a different error message when trying to connect to port 0. Let's try port 20 instead.
2006-09-14 08:46:58 +00:00
Michael Meskes
0f0d6765ce
Added missing constuctor/destructor for interval and date.
2006-09-14 08:02:38 +00:00
Michael Meskes
9c356a6b3e
Seems this wasn't committed originally
2006-09-12 09:09:31 +00:00
Tom Lane
568b80168f
Move set_pglocale_pgservice() from path.c to exec.c, so that pulling in
...
path.c does not in itself force linking of both exec.c and libintl.
Should fix current ecpglib build failure on pickier platforms.
2006-09-11 20:10:30 +00:00
Tom Lane
bb87c7b551
Ooops, forgot to update ecpg comparison files to match
...
source-code change.
2006-09-11 02:50:07 +00:00
Tom Lane
1d0b7e71e3
Fix unportable usage complained of by icc. Per buildfarm results.
2006-09-11 01:41:35 +00:00
Tom Lane
4ee24cbb55
Install a cleaner solution to the AIX libpq linking problem, as per
...
an earlier discussion. Centralize assumptions about what libpq depends
on in one place in Makefile.global. I am unconvinced that this list
is complete, but since ecpg seems to have gotten along with just these
entries, we'll try it this way and see what happens.
2006-09-10 22:07:02 +00:00
Tom Lane
42c17a6bb0
Revise OpenLDAP configuration and linking to work on more platforms
...
than before. Albe Laurenz (but editorialized heavily by me, so if it
doesn't work it's my fault).
2006-09-09 03:15:40 +00:00
Michael Meskes
0b33c56297
Not all C compilers understand the "//" comment in this test case, so I removed it.
2006-09-08 14:58:27 +00:00
Michael Meskes
460f46816a
Replaced complex tests with small ones.
2006-09-08 13:32:29 +00:00
Michael Meskes
52a013bea8
More logic from complex/test* moved to their own testcases.
2006-09-08 09:03:40 +00:00
Bruce Momjian
a0e87ad7a5
Specify lo_write() to take a _const_ buffer, to match documentation.
2006-09-07 15:37:25 +00:00
Michael Meskes
803d9c39dd
Changing a test case also changes the output that is expected.
...
Float/Long aliasing doesn't work on all architecures.
2006-09-07 11:18:47 +00:00
Michael Meskes
1d1868d97e
Removed one output because integer/double usage differ
2006-09-07 08:15:58 +00:00
Michael Meskes
a3242fb42c
Lost some changes yet again
2006-09-05 12:17:09 +00:00
Michael Meskes
c9970d5948
Started to cleanup complex tests.
...
Added some interval checks to regression suite.
2006-09-05 12:11:03 +00:00
Michael Meskes
276b3bb3e3
Synced parser.
...
Fixed ecpglib trying to read one character after end-of-string.
Fixed port number setting in regression suite.
2006-09-05 10:00:53 +00:00
Bruce Momjian
497f49a736
Remove trailing slash use in ecpg regression script; caused failures on
...
some platforms.
2006-09-04 19:36:21 +00:00