From: | Kenneth Gonsalves <lawgon(at)thenilgiris(dot)com> |
---|---|
To: | MRB <nomail(at)example(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: ENUM like data type |
Date: | 2005-06-28 06:41:29 |
Message-ID: | 200506281211.29034.lawgon@thenilgiris.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-sql |
On Tuesday 21 Jun 2005 8:50 pm, MRB wrote:
> I'm working with a lot of data from MySQL where the MySQL ENUM type
> is used.
just a thought - it took me five years after migrating from mysql to
pg to start thinking like an sql programmer. I used to keep trying to
write stuff for pg 'like' i used to for mysql. When i did that - i
didnt get any of the benefits of pg - might as well have continued to
write in mysql. Especially so when i went into convolutions trying to
translate the enum type and the 'set' syntax on insert. In these
cases i suggest dumping the mysql way and rewriting in the pg way.
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2005-06-28 06:50:00 | Re: Users/Groups -> Roles |
Previous Message | Tom Lane | 2005-06-28 06:01:33 | Re: Moving sequences to another schema |
From | Date | Subject | |
---|---|---|---|
Next Message | M.D.G. Lange | 2005-06-28 07:50:35 | Re: Unique primary index? |
Previous Message | Michael Fuhr | 2005-06-28 04:57:00 | Re: ORDER records based on parameters in IN clause |