| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
| Cc: | Greg Mitchell <gmitchell(at)atdesk(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Custom Data Type Question |
| Date: | 2006-11-18 15:54:13 |
| Message-ID: | 455F2CA5.1000500@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Simon Riggs wrote:
> On Wed, 2006-11-15 at 16:38 -0500, Andrew Dunstan wrote:
>
>
>> My little enumkit tool allows you to create enumerations today very
>> easily, but its values are completely hardcoded. However, the above
>> trick still works. The downside is that each enumeration type requires a
>> tiny bit of compilation.
>>
>
> Andrew,
>
> Your enum sounds good, apart from the hardcoded/compilation thing. That
> is a data management nightmare AFAICS and so restricts the usefulness of
> the solution.
>
>
>
Simon, Tom Dunstan has submitted a patch for first class enum types that
do not have the compilation requirement - it's in the queue for 8.3. You
might want to review that.
cheers
andrew
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Markus Schiltknecht | 2006-11-18 17:28:15 | Re: Proposal: syntax of operation with tsearch'sconfiguration |
| Previous Message | Matt Miller | 2006-11-18 15:41:29 | Re: [GENERAL] Allowing SYSDATE to Work |