From: Miroslav Šulc <miroslav.sulc@startnet.cz>
To: hf1122x@protecting.net
Cc: pgsql-performance@postgresql.org
Subject: Re: How to read query plan
Date: Mon, 14 Mar 2005 16:27:44 +0100
Message-ID: <4235AD70.60407@startnet.cz> (raw)
In-Reply-To: <puekei9vb3.fsf@srv.protecting.net>
References: <42345D24.8070104@startnet.cz>
<4234692E.3050802@arbash-meinel.com>
<42347407.2000202@startnet.cz>
<42347D5E.9000900@arbash-meinel.com>
<42348F54.1000408@startnet.cz>
<423493E5.6040203@arbash-meinel.com>
<42355249.8090101@startnet.cz>
<opsnmecyijth1vuj@localhost>
<423556B8.4020500@startnet.cz>
<puekei9vb3.fsf@srv.protecting.net>
Harald Fuchs wrote:
>>Sure I could. The problem is our project still supports both MySQL and
>>PostgreSQL. We used enum('Y','N') in MySQL so there would be a lot of
>>changes in the code if we would change to the BOOL data type.
>>
>>
>
>Since BOOL is exactly what you want to express and since MySQL also
>supports BOOL (*), you should make that change anyway.
>
>
I know that. The time will have to come.
>(*) MySQL recognizes BOOL as a column type and silently uses
>TINYINT(1) instead.
>
>
I've checked that and you are right, but the BOOL is in MySQL from
version 4.1.0 though we could use tinyint instead of enum - our bad choice.
Miroslav
Attachments:miroslav.sulc.vcf (text/x-vcard, 385B) download
begin:vcard
fn;quoted-printable:Miroslav =C5=A0ulc
n;quoted-printable:=C5=A0ulc;Miroslav
org:StartNet s.r.o.
adr;quoted-printable;quoted-printable:;;Vrchlick=C3=A9ho 161/5;Praha 5;;150 00;=C4=8Cesk=C3=A1 republika
email;internet:miroslav.sulc@startnet.cz
title:CEO
tel;work:+420 257 225 602
tel;cell:+420 603 711 413
x-mozilla-html:TRUE
url:http://www.startnet.cz
version:2.1
end:vcard
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-performance@postgresql.org
Cc: miroslav.sulc@startnet.cz, hf1122x@protecting.net
Subject: Re: How to read query plan
In-Reply-To: <4235AD70.60407@startnet.cz>
* 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