Michael Meskes
5e96a7b96c
Fixed reduce/recuce problem due to CURRENT_P.
2007-06-12 11:32:30 +00:00
Michael Meskes
e514740e69
Synced parser and keyword list.
2007-06-12 07:55:56 +00:00
Michael Meskes
88a7c4822c
Should not try to unlink stdout.
2007-06-11 12:01:23 +00:00
Michael Meskes
91411b6105
Fixed one memory leak in descriptor code.
...
Made sure ecpg deletes output file in case of an error.
2007-06-11 11:52:08 +00:00
Michael Meskes
1aca1cde52
- Synced parser and keyword list
...
- Renamed update test so it hopefully runs on Vista
2007-05-10 09:53:17 +00:00
Peter Eisentraut
ae8072a404
Complete cleaning
2007-04-01 08:56:58 +00:00
Tom Lane
856b87c294
Fix typo, ensable -> enable, per Steve Gieseking.
2007-03-27 03:25:28 +00:00
Tom Lane
584b6dc2d5
Fix ecpg/preproc makefile for parallel builds: parser.o must depend
...
on preproc.h, else make may try to build it before preproc.h is ready.
Per failures seen here and in buildfarm.
2007-03-18 17:57:34 +00:00
Michael Meskes
d3e131e062
- Changed some whitespacing in connect statement.
...
- Made some chars const as proposed by Stefan Huehner <stefan@huehner.org >.
- Synced parser and keyword lists.
- Copied two token parsing from backend parser to ecpg parser.
- Also added a test case for this.
2007-03-17 19:25:24 +00:00
Peter Eisentraut
16059d39a0
Replace some strncpy() by strlcpy().
2007-02-07 00:52:35 +00:00
Bruce Momjian
8b4ff8b6a1
Wording cleanup for error messages. Also change can't -> cannot.
...
Standard English uses "may", "can", and "might" in different ways:
may - permission, "You may borrow my rake."
can - ability, "I can lift that log."
might - possibility, "It might rain today."
Unfortunately, in conversational English, their use is often mixed, as
in, "You may use this variable to do X", when in fact, "can" is a better
choice. Similarly, "It may crash" is better stated, "It might crash".
2007-02-01 19:10:30 +00:00
Michael Meskes
b8f611cf4b
Simplified regression handling
...
Added patch by Joachim to work around OpenBSD bug in regression suite.
2007-01-12 10:00:14 +00:00
Michael Meskes
5b88b85cad
Applied Joachim's patch for a --regression option.
...
Made this option mark the .c files, so the environment variable is no longer needed.
Created a special MinGW file with the special error message.
Do not print port into log file when running regression tests.
2007-01-11 15:47:34 +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
Michael Meskes
a09f9ff649
Small parser sync
2006-10-23 08:00:48 +00:00
Bruce Momjian
f99a569a2e
pgindent run for 8.2.
2006-10-04 00:30:14 +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
Michael Meskes
460f46816a
Replaced complex tests with small ones.
2006-09-08 13:32:29 +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
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
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
e96df81b17
Synced parser
2006-08-24 12:31:33 +00:00
Michael Meskes
e8d1dcbfde
Fixed of by one variable size.
2006-08-24 10:35:58 +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
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
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
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
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
1fa6be6f69
ynced parser and keyword list.
...
Implemented EXEC SQL UNDEF.
Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de >.
2006-08-02 13:43:23 +00:00
Michael Meskes
0bee536ad8
Replaced $Header$ by $§PosgreSQL$
2006-07-30 16:28:58 +00:00
Michael Meskes
cdf131abac
Added missing $Header$ entries.
2006-07-30 10:24:10 +00:00
Michael Meskes
72ba3cb50f
Added more SoC changes by Joachim Wieland <joe@mcknight.de>:
...
- SHOW statement puts result into a variable
- COPY TO STDOUT works
2006-07-28 09:08:01 +00:00
Tom Lane
ae643747b1
Fix a passel of recently-committed violations of the rule 'thou shalt
...
have no other gods before c.h'. Also remove some demonstrably redundant
#include lines, mostly of <errno.h> which was added to c.h years ago.
2006-07-14 05:28:29 +00:00
Michael Meskes
4b98d423d7
Added missing braces to prevent a segfault after usage of an undeclared cursor.
2006-06-26 14:12:02 +00:00
Michael Meskes
0251602fc9
Fixed two more memory leaks in ecpglib.
...
Synced parser.
2006-06-06 11:31:55 +00:00
Tom Lane
637028afe1
Code review for standard_conforming_strings patch. Fix it so it does not
...
throw warnings for 100%-SQL-standard constructs, clean up some minor
infelicities, try to un-break ecpg to the best of my ability. (It's not clear
how ecpg is going to find out the setting of standard_conforming_strings,
though.) I think pg_dump still needs work, too.
2006-05-11 19:15:36 +00:00
Bruce Momjian
59d591e79a
Back out RESET CONNECTION until there is more discussion.
2006-04-25 14:11:59 +00:00
Bruce Momjian
6378fdd971
Add RESET CONNECTION, to reset all aspects of a session.
...
Hans-J?rgen Sch?nig
2006-04-25 14:09:21 +00:00
Bruce Momjian
f3d99d160d
Add CVS tag lines to files that were lacking them.
2006-03-11 04:38:42 +00:00
Tom Lane
012abebab1
Remove the stub support we had for UNION JOIN; per discussion, this is
...
not likely ever to be implemented seeing it's been removed from SQL2003.
This allows getting rid of the 'filter' version of yylex() that we had in
parser.c, which should save at least a few microseconds in parsing.
2006-03-07 01:00:19 +00:00
Tom Lane
48cf295742
'make clean' should NOT remove *~ files.
2006-03-07 00:48:07 +00:00
Bruce Momjian
19c21d115d
Enable standard_conforming_strings to be turned on.
...
Kevin Grittner
2006-03-06 19:49:20 +00:00
Bruce Momjian
f2f5b05655
Update copyright for 2006. Update scripts.
2006-03-05 15:59:11 +00:00
Tom Lane
14ebeee134
C++ comments are verboten. Per gripe from Kris Jurka.
2006-02-09 07:22:22 +00:00
Tom Lane
3cb312d873
Fix broken non-YYDEBUG case.
2006-02-09 00:56:57 +00:00