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
Michael Meskes
9bade3ff84
Replaced double-quote-fix with a hopefully better version.
...
Use initializer string length as size for character strings.
Added ecpg_config.h file that is created via configure.
2006-08-23 12:01:53 +00:00
Michael Meskes
54f5527606
Descriptor values were quoted twice.
...
Fixed some regression test problems.
2006-08-22 12:46:18 +00:00
Michael Meskes
fc19744e58
Added another test
2006-08-19 15:10:00 +00:00
Michael Meskes
84844bab2c
More SoC stuff
2006-08-19 13:42:40 +00:00
Tom Lane
9a8920e1d7
Add PQdescribePrepared, PQdescribePortal, and related functions to libpq
...
to allow obtaining information about previously prepared statements and
open cursors. Volkan Yazici
2006-08-18 19:52:39 +00:00
Michael Meskes
46d61eb218
Fixed a buffer overrun that was masked on Linux systems.
2006-08-18 16:30:53 +00:00
Michael Meskes
e91600d1c2
Changed lexer to no longer use the default rule.
...
Synced parser and keyword list.
Fixed parsing of CONNECT statement so it accepts a C string again.
2006-08-18 15:59:35 +00:00
Michael Meskes
2834fb6a83
Fixed a typo and made two mallocs Coverity friendly.
2006-08-15 12:46:25 +00:00
Michael Meskes
4a445f5d97
Sorry, forgot the new files.
2006-08-15 06:48:24 +00:00
Michael Meskes
b30da7ba5f
Added lots of SoC stuff made by Joachim.
...
Fixed broken newline on Windows.
Fixed a nasty buffer underrun that only occured when using Informix
no_indicator NULL setting on timestamps and intervals.
2006-08-15 06:40:20 +00:00
Michael Meskes
ab6aa40b64
Applied patch for VPATH builds by Alvaro Herrera <alvherre@commandprompt.com>
...
Merged dyntest.pgc and dyntest2.pgc.
Hopefully fixed the last Coverity reports (finally)
2006-08-13 10:18:31 +00:00
Tom Lane
0bf9d3a59e
Fix inadequate makefile-fu in ecpg regression tests. I think this
...
will fix current platypus build failure.
2006-08-09 22:48:17 +00:00
Michael Meskes
e6e61afe16
Fixed some memory bugs that somehow reappeared.
...
Also fixed a new Coverity report.
2006-08-09 09:08:32 +00:00
Michael Meskes
7c9e2c75da
Fixed error handling in numeric conversion (Joachim).
...
Further regression cleanup.
2006-08-09 07:30:56 +00:00
Bruce Momjian
8a7a6afe2d
Suppress MSVC warnings about weak functions by using
...
_CRT_SECURE_NO_DEPRECATE.
Hiroshi Saito
2006-08-09 03:09:56 +00:00
Tom Lane
644e3fe368
Fix 'make clean' for change of regression.diffs file name.
2006-08-08 19:43:11 +00:00
Michael Meskes
79a1a2ec6b
Cleaned up log output a little bit more.
2006-08-08 15:30:39 +00:00
Michael Meskes
6e11202dbe
Made parser check for valid copy to/from stdin/stdout combinations.
...
Lots of small changes in regression test suite
2006-08-08 11:51:25 +00:00
Michael Meskes
977ac90001
Joachim fixed some bugs in numeric handling in pgtypeslib.
...
Fixed and cleaned up some regression tests. Also added a new one.
2006-08-07 13:17:02 +00:00
Michael Meskes
1d28bf2589
Two more changes to regression tests to fix two differences in different setups.
2006-08-05 16:48:48 +00:00
Bruce Momjian
3f23f4eec8
Add some blank lines for formatting.
2006-08-04 22:20:06 +00:00
Bruce Momjian
bf7b205e16
#ifdef fix for MSVC builds of libpq.
...
Hiroshi Saito
2006-08-04 18:58:33 +00:00
Tom Lane
6db6714ffc
Remove redeclaration of struct sqlca_t --- unnecessary and provokes
...
warnings on some compilers.
2006-08-04 16:54:05 +00:00
Tom Lane
5d844d3271
'make clean' must remove the create subdirectories results/ and log/,
...
not merely remove their contents. Else 'cvs update' complains.
2006-08-04 14:18:09 +00:00