Re: Proposal: CREATE CONVERSION

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Proposal: CREATE CONVERSION
Дата
Msg-id 20020707.081408.07622208.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: Proposal: CREATE CONVERSION  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Hiroshi Inoue"
Дата:
Сообщение: Re: BETWEEN Node & DROP COLUMN
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: (A) native Windows port