Re: [GENERAL] Reg: Custom Data Types in PostgreSQL

2008-11-21 Thread Merlin Moncure
On Fri, Nov 21, 2008 at 11:18 PM, Raj K <[EMAIL PROTECTED]> wrote: > Hi all, > I am not an expert in DB. So please excuse, if the question is stupid. > > In PostgreSQL, we do support custom data types - say enum type. > --> CREATE TYPE testtype AS ENUM {'test1', 'test2'}; > Now, I w

[GENERAL] Reg: Custom Data Types in PostgreSQL

2008-11-21 Thread Raj K
Hi all, I am not an expert in DB. So please excuse, if the question is stupid. In PostgreSQL, we do support custom data types - say enum type. --> CREATE TYPE testtype AS ENUM {'test1', 'test2'}; Now, I was wondering whether we should be using a different table or the enum itself f