SearchSysCache - Mailing list pgsql-hackers

From uwcssa
Subject SearchSysCache
Date
Msg-id f2f562510701021331j4417bcbtc6ddbd36d08c8394@mail.gmail.com
Whole thread Raw
Responses Re: SearchSysCache  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
My program (indirectly) calls the following function twice,

tuple = SearchSysCache(STATRELATT, ObjectIdGetDatum(relid),

Int16GetDatum(colnum),  0, 0);

The first time it assigns NULL to tuple, while the second time it
assigns a valid pointer. Why is it like that?  BTW, my program only
optimize query plan without executing it.

Thanks.


pgsql-hackers by date:

Previous
From: David Boreham
Date:
Subject: Re: TODO: GNU TLS
Next
From: Tom Lane
Date:
Subject: Re: SearchSysCache