Re: [HACKERS] atttypmod

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] atttypmod
Дата
Msg-id Pine.BSF.3.96.980219233641.226j-100000@thelab.hub.org
обсуждение исходный текст
Ответ на Re: [HACKERS] atttypmod  (Brett McCormick <brett@work.chicken.org>)
Список 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@candle.pha.pa.us
>

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


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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Running pgindent
Следующее
От: Bruce Momjian
Дата:
Сообщение: Who is everyone?