Coding question

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Coding question
Date: 2004-06-13 08:19:44
Message-ID: 20040613161825.A34291-100000@houston.familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-06-13 14:09:30 Re: Nested transactions and tuple header info
Previous Message Thomas Hallgren 2004-06-13 08:07:24 Re: I just got it: PostgreSQL Application Server -- a new project.