aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/snprintf.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-09-04 12:52:23 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-09-04 12:52:23 +0000
commit370d6cdb64dfd571b9614263035f82eeb7a0aa1e (patch)
treec804567d4b16b9bc1eccf938b53d953014df4e50 /src/backend/port/snprintf.c
parente9d0fa3762fd3731117c5ba0fee719771aacfd98 (diff)
downloadpostgresql-370d6cdb64dfd571b9614263035f82eeb7a0aa1e.tar.gz
postgresql-370d6cdb64dfd571b9614263035f82eeb7a0aa1e.zip
From: David Hartwig <daybee@bellatlantic.net>
I put some extra checks to make sure a query was a good candidate for rewrite into a UNION. Besides the existing checks: 1. Make sure the AND/OR tree was rectangular. ( i.e. 3 X 4 or 10 X 3) 2. Only one table. 3. Must have an AND dimension. 4. At least 9 OP expressions total Also cleaned up and commented.
Diffstat (limited to 'src/backend/port/snprintf.c')
0 files changed, 0 insertions, 0 deletions