Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group