postgresql/src
Tom Lane 928311a463 Clean up weird corner cases in lexing of psql meta-command arguments.
These changes allow backtick command evaluation and psql variable
interpolation to happen on substrings of a single meta-command argument.
Formerly, no such evaluations happened at all if the backtick or colon
wasn't the first character of the argument, and we considered an argument
completed as soon as we'd processed one backtick, variable reference, or
quoted substring.  A string like 'FOO'BAR was thus taken as two arguments
not one, not exactly what one would expect.  In the new coding, an argument
is considered terminated only by unquoted whitespace or backslash.

Also, clean up a bunch of omissions, infelicities and outright errors in
the psql documentation of variables and metacommand argument syntax.
2011-08-26 13:53:11 -04:00
..
backend Add makefile rules to check for backtracking in backend and psql lexers. 2011-08-25 14:44:17 -04:00
bin Clean up weird corner cases in lexing of psql meta-command arguments. 2011-08-26 13:53:11 -04:00
include Add missing include so include file compiles cleanly on its own. 2011-08-22 23:19:21 -04:00
interfaces Add "%option warn" to all flex input files that lacked it. 2011-08-25 13:55:57 -04:00
makefiles Fix pgxs.mk to always add --dbname=$(CONTRIB_TESTDB) to REGRESS_OPTS. 2011-08-24 15:16:50 -04:00
pl Change PyInit_plpy to external linkage 2011-08-18 12:59:43 +03:00
port Use consistent format for reporting GetLastError() 2011-08-23 22:00:52 +03:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Add expected isolationtester output when prepared xacts are disabled 2011-08-25 17:44:56 -03:00
timezone Use consistent format for reporting GetLastError() 2011-08-23 22:00:52 +03:00
tools Fix pgrminclude regex pattern. 2011-08-26 10:33:18 -04:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:23 -04:00
nls-global.mk Add the possibility to pass --flag arguments to xgettext calls 2011-06-27 00:37:21 +03:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00