- 16 Aug, 2005 1 commit
-
-
Tom Lane authored
anyway, and in assert-enabled builds you are likely to get an assertion failure. Backpatch as far as 7.3; 7.2 seems not to have the problem.
-
- 26 Jun, 2005 2 commits
-
-
Tom Lane authored
with main, avoid using a SQL-defined SQLSTATE for what is most definitely not a SQL-compatible error condition, fix documentation omissions, adhere to message style guidelines, don't use two GUC_REPORT variables when one is sufficient. Nothing done about pg_dump issues.
-
Bruce Momjian authored
literally. Add GUC variables: "escape_string_warning" - warn about backslashes in non-E strings "escape_string_syntax" - supports E'' syntax? "standard_compliant_strings" - treats backslashes literally in '' Update code to use E'' when escapes are used.
-
- 15 Jun, 2005 1 commit
-
-
Bruce Momjian authored
-
- 02 Jun, 2005 2 commits
-
-
Tom Lane authored
broke it. Maybe we do need an automated check ...
-
Bruce Momjian authored
supported. This follows the C standard escapes.
-
- 26 May, 2005 1 commit
-
-
Tom Lane authored
scanner anyway) to avoid having any backup states. According to the flex manual, this should speed things up, and indeed the backend scanner is about a third faster according to some quick profiling checks. I haven't tried to measure the speed change in psql, but it probably is similar.
-
- 11 Mar, 2005 1 commit
-
-
Bruce Momjian authored
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.
-
- 22 Feb, 2005 1 commit
-
-
Bruce Momjian authored
macros around strings that were missing them.
-
- 31 Dec, 2004 1 commit
-
-
PostgreSQL Daemon authored
Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ...
-
- 09 Sep, 2004 1 commit
-
-
Dennis Bjorklund authored
-
- 29 Aug, 2004 1 commit
-
-
Bruce Momjian authored
-
- 28 Jun, 2004 1 commit
-
-
Tom Lane authored
-
- 24 Feb, 2004 1 commit
-
-
Tom Lane authored
is still lacking, as is support in plpgsql and other places, but this is the basic feature. Patch by Andrew Dunstan, some tweaking by Tom Lane. Also, enable %option nodefault in these two lexers, and patch some gaps revealed thereby.
-
- 21 Feb, 2004 1 commit
-
-
Tom Lane authored
problem, per previous discussion. Make some additional changes to centralize the knowledge of just how identifier downcasing is done, in hopes of simplifying any future tweaking in this area.
-
- 19 Feb, 2004 1 commit
-
-
Tom Lane authored
backend lexer against psql's.
-
- 29 Nov, 2003 1 commit
-
-
PostgreSQL Daemon authored
$Header: -> $PostgreSQL Changes ...
-
- 09 Oct, 2003 1 commit
-
-
Peter Eisentraut authored
misscanning of this construct: SELECT ''hello world'' -- SELECT ''goodbye world'' ::text;
-
- 04 Aug, 2003 1 commit
-
-
Bruce Momjian authored
-
- 18 Jul, 2003 1 commit
-
-
Tom Lane authored
-
- 19 Jun, 2003 1 commit
-
-
Tom Lane authored
character in identifiers. The first change eliminates the current need to put spaces around parameter references, as in "x<=$2". The second change improves compatibility with Oracle and some other RDBMSes. This was discussed and agreed to back in January, but did not get done.
-
- 29 May, 2003 2 commits
-
-
Tom Lane authored
yy_fatal_error() call results in elog(ERROR) not exit(). This was already fixed in the main lexer and plpgsql, but extend same technique to all the other dot-l files. Also, on review of the possible calls to yy_fatal_error(), it seems safe to use elog(ERROR) not elog(FATAL).
-
Tom Lane authored
for grammar-detected problems. Revert Makefile hack that kept it looking like the pre-bison-1.875 output.
-
- 27 Apr, 2003 1 commit
-
-
Tom Lane authored
I had inadvertently omitted it while rearranging things to support length-counted incoming messages. Also, change the parser's API back to accepting a 'char *' query string instead of 'StringInfo', as the latter wasn't buying us anything except overhead. (I think when I put it in I had some notion of making the parser API 8-bit-clean, but seeing that flex depends on null-terminated input, that's not really ever gonna happen.)
-
- 24 Apr, 2003 1 commit
-
-
Tom Lane authored
rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
-
- 11 Nov, 2002 1 commit
-
-
Tom Lane authored
-
- 04 Nov, 2002 1 commit
-
-
Tom Lane authored
-
- 29 Aug, 2002 1 commit
-
-
Tatsuo Ishii authored
-
- 18 Aug, 2002 1 commit
-
-
Tom Lane authored
a token scanned by multiple lex rules.
-
- 17 Aug, 2002 1 commit
-
-
Bruce Momjian authored
offending token more efficiently (per your suggestion of using scanbuf). The new patch does the same as before: template1=# select * frum pg_class; ERROR: parser: parse error at or near "frum" at character 10 It also implement's Tom's suggestion: template1=# select * from pg_class where\g ERROR: parse: parse error at end of input Gavin Sherry
-
- 04 Aug, 2002 1 commit
-
-
Thomas G. Lockhart authored
May not be the long-term solution (some continuing discussion with Peter E.) but better than the current mapping of a conversion to integer which I'd put in years ago before we had any bit string types at all. This is already supported in the bit string implementation elsewhere.
-
- 22 Jun, 2002 1 commit
-
-
Thomas G. Lockhart authored
Also implement alternative forms to expose the PostgreSQL CREATE FUNCTION features. Implement syntax for READ ONLY and READ WRITE clauses in SET TRANSACTION. READ WRITE is already implemented (of course). Implement syntax for "LIKE table" clause in CREATE TABLE. Should be fairly easy to complete since it resembles SELECT INTO. Implement MATCH SIMPLE clause for foreign key definitions. This is explicit SQL99 syntax for the default behavior, so we now support it :) Start implementation of shorthand for national character literals in scanner. For now, just swallow the leading "N", but sometime soon let's figure out how to pass leading type info from the scanner to the parser. We should use the same technique for binary and hex bit string literals, though it might be unusual to have two apparently independent literal types fold into the same storage type.
-
- 20 Jun, 2002 1 commit
-
-
Bruce Momjian authored
-
- 11 Jun, 2002 1 commit
-
-
Thomas G. Lockhart authored
Implement SQL99 SIMILAR TO as a synonym for our existing operator "~". Implement SQL99 regular expression SUBSTRING(string FROM pat FOR escape). Extend the definition to make the FOR clause optional. Define textregexsubstr() to actually implement this feature. Update the regression test to include these new string features. All tests pass. Rename the regular expression support routines from "pg95_xxx" to "pg_xxx". Define CREATE CHARACTER SET in the parser per SQL99. No implementation yet.
-
- 02 May, 2002 1 commit
-
-
Tom Lane authored
in gram.y can make use of the keywords.c string table, instead of having their own copies of the keyword strings. This saves a few kilobytes and more importantly eliminates an opportunity for cut-and-paste errors.
-
- 01 May, 2002 1 commit
-
-
Tom Lane authored
in parse error messages, not just the part scanned by the last flex rule. For example, select "foo" "bar"; used to draw ERROR: parser: parse error at or near """ which was rather unhelpful. Now it gives ERROR: parser: parse error at or near ""bar"" Also, error messages concerning bitstring literals and suchlike will quote the source text at you, not the processed internal form of the literal.
-
- 20 Apr, 2002 1 commit
-
-
Peter Eisentraut authored
Use flex flags -CF. Pass the to-be-scanned string around as StringInfo type, to avoid querying the length repeatedly. Clean up some code and remove lex-compatibility cruft. Escape backslash sequences inline. Use flex-provided yy_scan_buffer() function to set up input, rather than using myinput().
-
- 06 Mar, 2002 1 commit
-
-
Bruce Momjian authored
o Change all current CVS messages of NOTICE to WARNING. We were going to do this just before 7.3 beta but it has to be done now, as you will see below. o Change current INFO messages that should be controlled by client_min_messages to NOTICE. o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc. to always go to the client. o Remove INFO from the client_min_messages options and add NOTICE. Seems we do need three non-ERROR elog levels to handle the various behaviors we need for these messages. Regression passed.
-
- 07 Sep, 2001 1 commit
-
-
Tom Lane authored
don't have more bugs like the quote-quote-quote-quote one. Propagate fix into ecpg lexer, too.
-
- 04 Sep, 2001 1 commit
-
-
Peter Eisentraut authored
-