From: Kenneth Gonsalves <lawgon@thenilgiris.com>
To: MRB <nomail@example.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: ENUM like data type
Date: Tue, 28 Jun 2005 12:11:29 +0530
Message-ID: <200506281211.29034.lawgon@thenilgiris.com> (raw)
In-Reply-To: <11bgc1oblfasq3d@corp.supernews.com>
References: <11bgc1oblfasq3d@corp.supernews.com>
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
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: lawgon@thenilgiris.com, nomail@example.com
Subject: Re: ENUM like data type
In-Reply-To: <200506281211.29034.lawgon@thenilgiris.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox