diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-09-26 02:28:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-09-26 02:28:44 +0000 |
commit | 40f65241614deac2dda82c13e7228d132ee73153 (patch) | |
tree | cf516b687b6f59b68e3c402168c5b17036fe6ec0 /src/backend/utils/adt/float.c | |
parent | 95d3d468ce388d3b52cd33e80119d50d167df3c9 (diff) | |
download | postgresql-40f65241614deac2dda82c13e7228d132ee73153.tar.gz postgresql-40f65241614deac2dda82c13e7228d132ee73153.zip |
Implement constant-expression simplification per Bernard
Frankpitt, plus some improvements from yours truly. The simplifier depends
on the proiscachable field of pg_proc to tell it whether a function is
safe to pre-evaluate --- things like nextval() are not, for example.
Update pg_proc.h to contain reasonable cacheability information; as of
6.5.* hardly any functions were marked cacheable. I may have erred too
far in the other direction; see recent mail to pghackers for more info.
This update does not force an initdb, exactly, but you won't see much
benefit from the simplifier until you do one.
Diffstat (limited to 'src/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions