From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
Cc: | Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: ORDER BY regtype |
Date: | 2003-10-27 06:39:34 |
Message-ID: | 22931.1067236774@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> Is there _any_ way of sorting by a regproc as it appears, not as its
> underlying OID?
Can't think of one. If we supported casting regproc to text then I'd
expect ordering by the regproc-casted-to-text to do what you want.
But we don't.
There have been some questions in the past about why we don't support
casting *every* datatype to and from text (using the datatype's input
and output functions if necessary). I'm on record as not favoring
allowing such conversions to happen implicitly, but I can't see any
good reason not to allow them as explicit casts...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Brown | 2003-10-27 08:23:46 | Re: Still a few flaws in configure's default CFLAGS selection |
Previous Message | Tom Lane | 2003-10-27 06:21:56 | Re: regression failure with current |