forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit03a5ba2
committed
Remove derived fields from RI_QueryKey, and do a bit of other cleanup.
We really only need the foreign key constraint's OID and the query typecode to uniquely identify each plan we are caching for FK checks. Theother stuff that was in the struct had no business being used as part ofa hash key, and was all just being copied from struct RI_ConstraintInfoanyway. Get rid of the unnecessary fields, and readjust various functionAPIs to make them use RI_ConstraintInfo not RI_QueryKey as info source.I'd be surprised if this makes any measurable performance difference,but it certainly feels cleaner.1 parente1e97e9 commit03a5ba2
1 file changed
+194
-264
lines changed0 commit comments
Comments
(0)