| From: | tomas(at)tuxteam(dot)de |
|---|---|
| To: | hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Range types |
| Date: | 2009-12-14 11:45:50 |
| Message-ID: | 20091214114550.GA11306@tomas |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
-----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(at)tuxteam(dot)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-----
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2009-12-14 11:48:07 | Re: [PATCH] ACE Framework - Database, Schema |
| Previous Message | Simon Riggs | 2009-12-14 11:35:25 | Re: Hot Standby, release candidate? |