diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-09-04 12:52:23 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-09-04 12:52:23 +0000 |
commit | 370d6cdb64dfd571b9614263035f82eeb7a0aa1e (patch) | |
tree | c804567d4b16b9bc1eccf938b53d953014df4e50 /src/backend/port/snprintf.c | |
parent | e9d0fa3762fd3731117c5ba0fee719771aacfd98 (diff) | |
download | postgresql-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