Re: Proposal for resolving casting issues

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Proposal for resolving casting issues
Дата
Msg-id 200209171840.g8HIeON02733@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Proposal for resolving casting issues  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Proposal for resolving casting issues
Список pgsql-hackers
Tom Lane wrote:
> I favor using IMPLICIT, which would make the syntax of CREATE CAST be
> 
>     CREATE CAST (sourcetype AS targettype)
>         WITH FUNCTION funcname (argtype)
>         [ AS ASSIGNMENT | IMPLICIT ]
>     
>     CREATE CAST (sourcetype AS targettype)
>         WITHOUT FUNCTION
>         [ AS ASSIGNMENT | IMPLICIT ]
> 
> Or possibly it should be AS IMPLICIT?

I think AS IMPLICIT would be better because we have other AS [var]
clauses.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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