Re: Proposal: CREATE CONVERSION - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Proposal: CREATE CONVERSION
Date
Msg-id 20020707.081408.07622208.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: Proposal: CREATE CONVERSION  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Tatsuo Ishii <t-ishii@sra.co.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




pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: Re: BETWEEN Node & DROP COLUMN
Next
From: Lamar Owen
Date:
Subject: Re: (A) native Windows port