-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Dec 14, 2009 at 06:02:04AM -0500, Robert Haas wrote:
> On Mon, Dec 14, 2009 at 4:06 AM, <tomas@tuxteam.de> wrote:
[...]
> > This looks more natural to me too.
>
> It 's very different than the way we've traditionally used typmod,
> though, which Tom described pretty well here:
>
> http://archives.postgresql.org/pgsql-hackers/2009-11/msg01183.php
>
> For example, function signatures ignore typmod, so you'll be able to
> write a function that takes a range, but you won't know what kind of
> range you're getting [...]
> Also, typid is unsigned and typmod is signed. Again, awkward [...]
Ugh. I see. Thank you for this very insightful comment.
Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFLJiVuBcgs9XrR2kYRAp4ZAJsHjzYuVxwaeAUr1ogqRsZOecxdcwCeLfUv
8lZmeY6lb4r+57c6ZdB0J9M=
=0Ips
-----END PGP SIGNATURE-----