SearchSysCache

From: uwcssa <uwcssa(at)gmail(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: SearchSysCache
Date: 2007-01-02 21:31:25
Message-ID: f2f562510701021331j4417bcbtc6ddbd36d08c8394@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-01-02 21:36:06 Re: SearchSysCache
Previous Message Andrew Dunstan 2007-01-02 21:16:42 Re: [HACKERS] Recent SIGSEGV failures in buildfarm HEAD