Quoting table/column names vs performance - Mailing list pgsql-general

From Jozef Ševčík
Subject Quoting table/column names vs performance
Date
Msg-id D2C6AB7E6EDFD94788D27D1F537FCC3806176F63EC@VMBX102.ihostexchange.net
Whole thread Raw
Responses Re: Quoting table/column names vs performance  (Richard Huxton <dev@archonet.com>)
Re: Quoting table/column names vs performance  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
List pgsql-general

Hi all,

 

I just switched from MS SQL to PostgreSQL on project and have question about double-quoting names of fields/tables

regarding to performance.

 

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. 

I know I may rename tables/fields to lowercase and avoid double-quotting, but it double-quotting has no

affect on perf. is it worth it ?

Or are there any advantages of using ‘non-quoted’ identifiers agains double-quoted ?

 

Thanks

 

S pozdravom / Best regards,

 

Jozef Ševčík

sevcik@styxsystems.com

+420 608 782 813

 

pgsql-general by date:

Previous
From: "Peter Geoghegan"
Date:
Subject: Re: Problem with windows Postgres 8.3.1 MSI binary distribution
Next
From: "Martin Gainty"
Date:
Subject: Re: Problem with windows Postgres 8.3.1 MSI binary distribution