Re: [HACKERS] casting & type comments - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] casting & type comments
Date
Msg-id 199803140355.WAA00586@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] casting & type comments  (Brett McCormick <brett@work.chicken.org>)
Responses Re: [HACKERS] casting & type comments
List pgsql-hackers
> > I'm planning on working on the type conversion stuff. Not certain yet
> > how to handle varchar; SQL92 has this ad-hoc type syntax for some types
> > which makes it difficult to generalize. We might have to have a few
> > special cases to handle the grungy SQL92 stuff, and try to leave the
> > rest of it generic.
> >
> > Other types, like numeric and decimal, have the same problem with extra
> > parameters associated with the type.
>
> Speaking of which, how is the atttypmod passed?

It is used internally, but not passed to functions.  Not sure how to
address that.

--
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)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: indexing words slow
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Minor detail...