Re: Converting MySQL tinyint to PostgreSQL
От
Greg Stark
Тема
Re: Converting MySQL tinyint to PostgreSQL
Дата
Msg-id
87vf3fz7mr.fsf@stark.xeocode.com
Ответ на
Re: Converting MySQL tinyint to PostgreSQL (Tom Lane)
Список
Дерево обсуждения
Converting MySQL tinyint to PostgreSQL Joe <svn@freedomcircle.net>
Re: Converting MySQL tinyint to PostgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: Converting MySQL tinyint to PostgreSQL Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Converting MySQL tinyint to PostgreSQL Dawid Kuroczko <qnex42@gmail.com>
Re: Converting MySQL tinyint to PostgreSQL Joe <svn@freedomcircle.net>
Re: Converting MySQL tinyint to PostgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: Converting MySQL tinyint to PostgreSQL Joe <svn@freedomcircle.net>
Re: Converting MySQL tinyint to PostgreSQL Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Converting MySQL tinyint to PostgreSQL Joe <svn@freedomcircle.net>
Re: Converting MySQL tinyint to PostgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: Converting MySQL tinyint to PostgreSQL Greg Stark <gsstark@mit.edu>
Re: Converting MySQL tinyint to PostgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: Converting MySQL tinyint to PostgreSQL Dawid Kuroczko <qnex42@gmail.com>
Re: Converting MySQL tinyint to PostgreSQL Martijn van Oosterhout <kleptog@svana.org>
Re: Converting MySQL tinyint to PostgreSQL Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Converting MySQL tinyint to PostgreSQL Bruce Momjian <pgman@candle.pha.pa.us>
Re: Converting MySQL tinyint to PostgreSQL "Jim C. Nasby" <decibel@decibel.org>
Re: Converting MySQL tinyint to PostgreSQL Martijn van Oosterhout <kleptog@svana.org>
Re: Converting MySQL tinyint to PostgreSQL "Jim C. Nasby" <decibel@decibel.org>
Re: Converting MySQL tinyint to PostgreSQL Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Converting MySQL tinyint to PostgreSQL "Jim C. Nasby" <decibel@decibel.org>
Re: Converting MySQL tinyint to PostgreSQL Lincoln Yeoh <lyeoh@pop.jaring.my>
Re: Converting MySQL tinyint to PostgreSQL Bruce Momjian <pgman@candle.pha.pa.us>
Re: Converting MySQL tinyint to PostgreSQL Dawid Kuroczko <qnex42@gmail.com>
Re: Converting MySQL tinyint to PostgreSQL "Jim C. Nasby" <decibel@decibel.org>
Re: Converting MySQL tinyint to PostgreSQL Dawid Kuroczko <qnex42@gmail.com>
Re: Converting MySQL tinyint to PostgreSQL Scott Marlowe <smarlowe@g2switchworks.com>
Re: Converting MySQL tinyint to PostgreSQL Martijn van Oosterhout <kleptog@svana.org>
Re: Converting MySQL tinyint to PostgreSQL "Jim C. Nasby" <decibel@decibel.org>
Re: Converting MySQL tinyint to PostgreSQL Dawid Kuroczko <qnex42@gmail.com>
Re: Converting MySQL tinyint to PostgreSQL John DeSoi <desoi@pgedit.com>
Tom Lane writes: > Certainly the idea of not having to store a length word for CHAR(1) fields > is not going to inspire anyone to invest the effort involved ;-) That's a pretty big motivation though. Storage space efficiency is a huge factor in raw sequential scan speed. Personally I would settle for a fuller set of small fixed size datatypes. The "char" datatype is pretty much exactly what's needed except that it provides such a quirky interface. I'm not sure exactly how to clean it up but if it were more user-friendly (and had less of an "undocumented internal feature" character to it) I have a feeling a lot of people would be using for things like flags, state codes, etc. And it would reduce storage space significantly over having lots of text or even integer fields. -- greg
В списке pgsql-general по дате отправления