aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-06-23 18:41:39 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-06-23 18:41:39 -0400
commita443c1b2d6a646cf90a8afc193c07ed12a2bf045 (patch)
tree8ca5a1464d0faf5b2ea2b0d5dc336d860f03da7e /src/backend/access/gist
parent2031e1668e5577e64cfed29da69a34903d5a5227 (diff)
downloadpostgresql-a443c1b2d6a646cf90a8afc193c07ed12a2bf045.tar.gz
postgresql-a443c1b2d6a646cf90a8afc193c07ed12a2bf045.zip
Allow non-quoted identifiers as isolation test session/step names.
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 741d7f104, back-patch to all supported branches, so that this isn't a stumbling block for back-patching isolation test changes. Discussion: https://postgr.es/m/759113.1623861959@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions