Re: [HACKERS] atttypmod

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Brett McCormick <brett(at)work(dot)chicken(dot)org>
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] atttypmod
Date: 1998-02-20 03:36:58
Message-ID: Pine.BSF.3.96.980219233641.226j-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 19 Feb 1998, Brett McCormick wrote:

>
> How about having output options for types? I know this can be
> implemented with functions and views, but it would be nice to able to
> output values in different formats by default (such as datetime =>
> seconds since the epoch)

date_part('epoch', 'now'::datetime);

>
> On Thu, 19 February 1998, at 22:04:34, Bruce Momjian wrote:
>
> > > Which functionality is that?
> > >
> > > On Thu, 19 February 1998, at 16:48:26, Bruce Momjian wrote:
> > >
> > > > Just to let people know, pg_attribute.atttypmod is now passed as the
> > > > third parameter to all in and out functions, so it is ready to go for
> > > > people who need this functionality.
> > >
> >
> > Things like decimal types with defined precision. decimal(10,2).
> >
> > --
> > Bruce Momjian
> > maillist(at)candle(dot)pha(dot)pa(dot)us
>

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-20 03:47:20 Who is everyone?
Previous Message Thomas G. Lockhart 1998-02-20 03:34:24 Re: [HACKERS] Running pgindent