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

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "eric melbardis" <eric(dot)melbardis(at)netkitsolutions(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4056: problem creating function with domain argument
Date: 2008-03-27 19:15:14
Message-ID: 937d27e10803271215t703a9525p8aa06021a260205b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Mar 27, 2008 at 5:52 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Zdenek Kotala 2008-03-27 19:26:32 Re: BUG #4068: Failed to compile 8.3.1
Previous Message Ronald Kuczek 2008-03-27 19:09:29 BUG #4068: Failed to compile 8.3.1