On Tuesday 06 October 2009 14.45:33 Yannick Gingras wrote: [...] > Is there another way to do it? Something that would be portable and > to both MySQL and Postgres would be great.
Since both pg and mysql hava a native enum type, it's only a matter of writing the appropriate code in the SQL dialects. This came up just recently, search the list archive. I can't remember if the answer last time was "it would be quite easy to do" or "somebody is working on it", though. cheers -- vbi -- featured product: PostgreSQL - http://postgresql.org
signature.asc
Description: This is a digitally signed message part.