From: | "Greg Sabino Mullane" <greg(at)turnstep(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: a question on SQL |
Date: | 2006-12-12 21:21:00 |
Message-ID: | b2658024b71f33438c1e8e7544504b36@biglumber.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>> Ragnar, Marc, thanks so much for the help: DISTINCT ON was *exactly*
>> what I needed.
>> It's not a part of any SQL standard I know of, but does the job
>> _wonderfully_.
> It's the single most useful non-standard SQL feature postgresql has. It
> is thus simultaneously bad (from a portatbility aspect) and brilliant
> (because it's a million times easier and faster than the alternatives).
You mean second-most useful. LIMIT/OFFSET is the champion, hand down. :)
- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point http://www.endpoint.com/
PGP Key: 0x14964AC8 200612121616
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iD8DBQFFfxxjvJuQZxSWSsgRAokYAKDbmzEdfi3B/Fp0L62C6Fn48saMigCfeANo
PFT+tLmygoaZpAqfDO241AQ=
=n0xI
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Jon Asher | 2006-12-12 21:22:57 | Postgres friendly RegEx? |
Previous Message | Brendan O'Shea | 2006-12-12 21:14:00 | Statement timeout not working on broken connections with active queries |