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
Re: Quoting table/column names vs performance
Список pgsql-general
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
Дата:
Сообщение: Re: Quoting table/column names vs performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Disable Triggers