Re: Quoting table/column names vs performance

Поиск
Список
Период
Сортировка
Искать
От
Alban Hertroys
Тема
Re: Quoting table/column names vs performance
Дата
Msg-id
3164D567-E59A-4274-B803-7375E08FB6FF@solfertje.student.utwente.nl
Ответ на
Список
Дерево обсуждения
Quoting table/column names vs performance Jozef Ševčík <sevcik@styxsystems.com>
Re: Quoting table/column names vs performance Alban Hertroys <dalroi@solfertje.student.utwente.nl>
Re: Quoting table/column names vs performance Ivan Sergio Borgonovo <mail@webthatworks.it>
Re: Quoting table/column names vs performance Jozef Ševčík <sevcik@styxsystems.com>
Re: Quoting table/column names vs performance Richard Huxton <dev@archonet.com>
Re: Quoting table/column names vs performance Jozef Ševčík <sevcik@styxsystems.com>
Re: Quoting table/column names vs performance Richard Huxton <dev@archonet.com>
Re: Quoting table/column names vs performance Jozef Ševčík <sevcik@styxsystems.com>
Re: Quoting table/column names vs performance Craig Ringer <craig@postnewspapers.com.au>
On Apr 9, 2008, at 5:27 PM, Jozef Ševčík wrote:
> In MSSQL I had something like:
> SELECT Column1,Column2 from MyTable
>
> In PgSQL I write:
> SELECT “Column1”, “Column2” from “MyTable”
>
> Which is fine and working, I have no doubt about it. I’m just  
> guessing if this does not affect performance
> in any way.

What are you trying to fix that you don't just write SELECT  
Column1,Column2 from MyTable ?
Postgres understands that fine, why do you want to quote those  
identifiers? Maybe your application code is case-sensitive with  
regards to column (and maybe table) names?

Regards,
Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,47fcf8df927661984376163!


В списке pgsql-general по дате отправления
От: Jozef Ševčík
Дата:
От: Tom Lane
Дата:
Сообщение: Re: Disable Triggers
FAQ