Re: [HACKERS] casting & type comments

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: brett(at)work(dot)chicken(dot)org (Brett McCormick)
Cc: lockhart(at)alumni(dot)caltech(dot)edu, dg(at)illustra(dot)com, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] casting & type comments
Date: 1998-03-14 06:08:38
Message-ID: 199803140608.BAA03862@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
> Sorry, I meant at table creation time.. What are the implications of
> atttypmod in any case? it is just a general purpose number to attach
> to attributes (for precision etc), correct?
>

It is passed to all input and output functions for each type as the
third argument. You can see its use in char() and varchar().

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-03-14 06:27:33 Re: indexing words slow
Previous Message Bruce Momjian 1998-03-14 05:53:35 disk space