git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 18d938d) | patch
Don't zero opfuncid when reading nodes.
2015年9月24日 15:27:20 +0000 (11:27 -0400)
2015年9月24日 15:36:29 +0000 (11:36 -0400)
commit 9f1255ac859364a86264a67729dbd1a36dd63ff2
Don't zero opfuncid when reading nodes.

The comments here stated that this was just in case we ever had an
ALTER OPERATOR command that could remap an operator to a different
function. But those comments have been here for a long time, and no
such command has come about. In the absence of such a feature,
forcing the pg_proc OID to be looked up again each time we reread a
stored rule or similar is just a waste of cycles. Moreover, parallel
query needs a way to reread the exact same node tree that was written
out, not one that has been slightly stomped on. So just get rid of
this for now.

Per discussion with Tom Lane.
src/backend/nodes/readfuncs.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /