Re: How to read query plan

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: How to read query plan
Дата
Msg-id puekei9vb3.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на How to read query plan  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Ответы Re: How to read query plan  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Список pgsql-performance
In article <423556B8.4020500@startnet.cz>,
=?ISO-8859-15?Q?Miroslav_=A6ulc?= <miroslav.sulc@startnet.cz> writes:

>> Instead of a varchar(1) containing 'y' or 'n' you could use a
>> BOOL or an  integer.

> 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.

(*) MySQL recognizes BOOL as a column type and silently uses
TINYINT(1) instead.

В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] How to read query plan
Следующее
От: Miroslav Šulc
Дата:
Сообщение: Re: How to read query plan