Re: Proposal: variant of regclass

Поиск
Список
Период
Сортировка
От Yugo Nagata
Тема Re: Proposal: variant of regclass
Дата
Msg-id 20140114162820.89870fa8.nagata@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: Proposal: variant of regclass  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Proposal: variant of regclass  (Michael Paquier <michael.paquier@gmail.com>)
Re: Proposal: variant of regclass  (Amit Khandekar <amit.khandekar@enterprisedb.com>)
Re: Proposal: variant of regclass  (Marti Raudsepp <marti@juffo.org>)
Список pgsql-hackers
Here is the patch to implement to_regclass, to_regproc, to_regoper,
and to_regtype. They are new functions similar to regclass, regproc,
regoper, and regtype except that if requested object is not found,
returns InvalidOid, rather than raises an error.

On Tue, 31 Dec 2013 12:10:56 +0100
Pavel Stehule <pavel.stehule@gmail.com> wrote:

> 2013/12/31 Tatsuo Ishii <ishii@postgresql.org>
>
> > > On 12/31/2013 02:38 AM, Tatsuo Ishii wrote:
> > >> Before proceeding the work, I would like to make sure that followings
> > >> are complete list of new functions. Inside parentheses are
> > >> corresponding original functions.
> > >>
> > >> toregproc (regproc)
> > >> toregoper (regoper)
> > >> toregclass (regclass)
> > >> toregtype (regtype)
> > >
> > > Pardon the bikeshedding, but those are hard to read for me.  I would
> > > prefer to go with the to_timestamp() model and add an underscore to
> > > those names.
> >
> > I have no problem with adding "to_". Objection?
> >
>
> I like to_reg* too
>
> Regards
>
> Pavel
>
>
> >
> > Best regards,
> > --
> > Tatsuo Ishii
> > SRA OSS, Inc. Japan
> > English: http://www.sraoss.co.jp/index_en.php
> > Japanese: http://www.sraoss.co.jp
> >
> >
> > --
> > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgsql-hackers
> >


--
Yugo Nagata <nagata@sraoss.co.jp>

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeevan Chalke
Дата:
Сообщение: Re: [BUGS] surprising to_timestamp behavior
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Proposal: variant of regclass