Re: BUG #4056: problem creating function with domain argument

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: BUG #4056: problem creating function with domain argument
Дата
Msg-id 937d27e10803271215t703a9525p8aa06021a260205b@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #4056: problem creating function with domain argument  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thu, Mar 27, 2008 at 5:52 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

>  No, the above is entirely wrong.  typtypmod is the typmod that goes with
>  the domain's base type, not with the domain itself.  You got away with
>  this mistaken code before 8.3 because format_type just silently ignored
>  its typmod argument for all but a very small number of types.  But now
>  the default behavior is to print the typmod.

Ahh, gotcha. Fixed in pgAdmin, thanks.

--
Dave Page
EnterpriseDB UK Ltd: http://www.enterprisedb.com
PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk

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

Предыдущее
От: "Eric P. Melbardis"
Дата:
Сообщение: Re: BUG #4056: problem creating function with domain argument
Следующее
От: "Ronald Kuczek"
Дата:
Сообщение: BUG #4068: Failed to compile 8.3.1