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
Peter Eisentraut
c8041474ee
Add missing gettext calls for some SSL errors.
2006-09-04 14:57:27 +00:00
Tom Lane
57bfb27e60
Fix interval input parser so that fractional weeks and months are
...
cascaded first to days and only what is leftover into seconds. This
seems to satisfy the principle of least surprise given the general
conversion to three-part interval values --- it was an oversight that
these cases weren't dealt with in 8.1. Michael Glaesemann
2006-09-04 01:26:28 +00:00
Tom Lane
6ca09ad703
Suppress 'unused variable' warnings created by latest commit.
2006-09-03 19:30:43 +00:00
Michael Meskes
246bd83811
Synced parser.
...
Added another regression test and fixed tcp test.
2006-09-03 12:24:08 +00:00
Michael Meskes
cda6d0a8d3
Second try committing the path changes.
2006-08-29 13:23:27 +00:00
Michael Meskes
67135eb1ef
Removed debug option from pg_regress call.
...
Changed file paths in expected files too.
2006-08-29 12:33:45 +00:00
Michael Meskes
b1710339ba
Fixed parser and library to allow empty database names.
...
Streamlined connection name parsing.
Added Joachim's patch to shorten paths before diffing.
2006-08-29 12:24:52 +00:00
Tom Lane
ae28cfe673
Partial fix for ecpg's VPATH problems. It compiles and successfully
...
builds all the files needed for its regression tests, but the tests
themselves fail because of diffs in the #line directives output by
ecpg itself. Not sure what to do about that.
2006-08-28 16:13:11 +00:00
Michael Meskes
99a5619e7b
- Enabled single-quoted connection targets.
...
- Fixed a memory leak/segfault in unsuccessful connection.
- Some changes to test files.
2006-08-27 16:15:42 +00:00
Michael Meskes
445a61297e
Changed double output.
2006-08-26 11:50:00 +00:00
Michael Meskes
e96df81b17
Synced parser
2006-08-24 12:31:33 +00:00
Michael Meskes
8d9cf79437
Needed more stuff from c.h.
2006-08-24 10:48:21 +00:00
Michael Meskes
e8d1dcbfde
Fixed of by one variable size.
2006-08-24 10:35:58 +00:00
Michael Meskes
b7d5a88dbb
Need more defines in ecpg_config.h, patch sent by Rocco Altier <RoccoA@Routescape.com>
2006-08-24 09:37:07 +00:00
Michael Meskes
a6558b068d
Somehow my version compiled but the change didn't make it to CVS.
2006-08-23 13:57:27 +00:00
Michael Meskes
02c3cdbaad
Argh, forgot the new file yet again.
2006-08-23 12:51:26 +00:00