mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
a443c1b2d6
For no obvious reason, isolationtester has always insisted that
session and step names be written with double quotes. This is
fairly tedious and does little for test readability, especially
since the names that people actually choose almost always look
like normal identifiers. Hence, let's tweak the lexer to allow
SQL-like identifiers not only double-quoted strings.
(They're SQL-like, not exactly SQL, because I didn't add any
case-folding logic. Also there's no provision for U&"..." names,
not that anyone's likely to care.)
There is one incompatibility introduced by this change: if you write
"foo""bar" with no space, that used to be taken as two identifiers,
but now it's just one identifier with an embedded quote mark.
I converted all the src/test/isolation/ specfiles to remove
unnecessary double quotes, but stopped there because my
eyes were glazing over already.
Like
|
||
---|---|---|
.. | ||
concurrent_ddl_dml.spec | ||
concurrent_stream.spec | ||
delayed_startup.spec | ||
mxact.spec | ||
oldest_xmin.spec | ||
ondisk_startup.spec | ||
snapshot_transfer.spec | ||
subxact_without_top.spec | ||
twophase_snapshot.spec |