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.
Responses
pgsql-hackers by date
| Next: | From: Tom Lane | Date: 2007-01-02 21:36:06 |
| Subject: Re: SearchSysCache |
| Previous: | From: Andrew Dunstan | Date: 2007-01-02 21:16:42 |
| Subject: Re: [HACKERS] Recent SIGSEGV failures in buildfarm HEAD |