Re: [HACKERS] casting & type comments

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: brett@work.chicken.org (Brett McCormick)
Cc: lockhart@alumni.caltech.edu, dg@illustra.com, pgsql-hackers@hub.org
Date: 1998-03-14T06:08:38Z
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@candle.pha.pa.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)