From: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
---|---|
To: | tgl(at)sss(dot)pgh(dot)pa(dot)us |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Proposal: CREATE CONVERSION |
Date: | 2002-07-06 23:14:08 |
Message-ID: | 20020707.081408.07622208.t-ishii@sra.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> > I am worried about that too. But if we stick a C-level API, how can we
> > define the argument data type suitable for C string? I don't see such
> > data types. Maybe you are suggesting that we should not use CREATE
> > FUNCTION?
>
> Well, you'd have to use the same cheat that's used for selectivity
> estimation functions, triggers, I/O functions and everything else that
> deals in internal datatypes: declare the function as taking and
> returning OPAQUE. This is moderately annoying but I don't think
> there's anything really wrong with it in practice.
Oh, I see.
--
Tatsuo Ishii
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2002-07-07 01:46:28 | Re: (A) native Windows port |
Previous Message | Alvaro Herrera | 2002-07-06 22:40:19 | Re: CLUSTER not lose indexes |