Coding question - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Coding question
Date
Msg-id 20040613161825.A34291-100000@houston.familyhealth.com.au
Whole thread Raw
List pgsql-hackers
If typTup is of type Form_pg_type, is this use of ObjectIdGetDatum legal?

tuple = SearchSysCache(RELOID, ObjectIdGetDatum(typTup->typrelid),
0,0, 0);
 

If not, how do I turn ->typrelid into an Oid type for safe passage
through ObjectIdGetDatum?

Chris




pgsql-hackers by date:

Previous
From: "Thomas Hallgren"
Date:
Subject: Re: I just got it: PostgreSQL Application Server -- a new project.
Next
From: Bruce Momjian
Date:
Subject: Re: Nested transactions and tuple header info