postgresql/src/backend/utils/adt
Tom Lane 03a5ba24b0 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 type
code to uniquely identify each plan we are caching for FK checks.  The
other stuff that was in the struct had no business being used as part of
a hash key, and was all just being copied from struct RI_ConstraintInfo
anyway.  Get rid of the unnecessary fields, and readjust various function
APIs 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.
2012-06-18 18:50:29 -04:00
..
acl.c
array_selfuncs.c
array_typanalyze.c
array_userfuncs.c
arrayfuncs.c
arrayutils.c
ascii.c
bool.c
cash.c
char.c
date.c
datetime.c
datum.c
dbsize.c
domains.c
encode.c
enum.c
float.c
format_type.c
formatting.c
genfile.c
geo_ops.c
geo_selfuncs.c
inet_cidr_ntop.c
inet_net_pton.c
int8.c
int.c
json.c
like_match.c
like.c
lockfuncs.c
mac.c
Makefile
misc.c
nabstime.c
name.c
network.c
numeric.c
numutils.c
oid.c
oracle_compat.c
pg_locale.c
pg_lzcompress.c
pgstatfuncs.c
pseudotypes.c
quote.c
rangetypes_gist.c
rangetypes.c
regexp.c
regproc.c
ri_triggers.c Remove derived fields from RI_QueryKey, and do a bit of other cleanup. 2012-06-18 18:50:29 -04:00
rowtypes.c
ruleutils.c
selfuncs.c
tid.c
timestamp.c
trigfuncs.c
tsginidx.c
tsgistidx.c
tsquery_cleanup.c
tsquery_gist.c
tsquery_op.c
tsquery_rewrite.c
tsquery_util.c
tsquery.c
tsrank.c
tsvector_op.c
tsvector_parser.c
tsvector.c
txid.c
uuid.c
varbit.c
varchar.c
varlena.c
version.c
windowfuncs.c
xid.c
xml.c