typeoid by name for PG72 - Mailing list pgsql-hackers

From strk
Subject typeoid by name for PG72
Date
Msg-id 20050107121414.GA35110@freek.keybit.net
Whole thread Raw
List 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/


pgsql-hackers by date:

Previous
From: Honda Shigehiro
Date:
Subject: Re: Porting/platforms/buildfarm open issues
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: [Testperf-general] pg_autovacuum w/ dbt2