typeoid by name for PG72

From: strk <strk(at)keybit(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: typeoid by name for PG72
Date: 2005-01-07 12:14:14
Message-ID: 20050107121414.GA35110@freek.keybit.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello, I'm trying to make an array constructor function
work for PGSQL from 72 to 80.
My current problem is that in PG73 the ArrayType structure
wants an elementtype but FmgrInfo does not contain the Oid
of the given argument (only of the function).

Is there an "easy" way to either:
- obtain OID of a given argument
- obtain OID of a given type by its name

By "easy" I mean not involving a query to the backend.

--strk;

For standing up against patentability of software,

Thank You, Poland!

Read the intervention: http://kwiki.ffii.org/ConsPolon041221En
Send your thanks: thankyoupoland.info
Read/do more: http://www.noepatents.org/

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew T. O'Connor 2005-01-07 13:48:52 Re: [Testperf-general] pg_autovacuum w/ dbt2
Previous Message Honda Shigehiro 2005-01-07 12:10:40 Re: Porting/platforms/buildfarm open issues