pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris <dmagick@gmail.com>
To: pgsql-php@postgresql.org
Subject: Re: syntax problem
Date: Fri, 13 May 2011 09:00:42 +1000
Message-ID: <4DCC669A.6090509@gmail.com> (raw)
In-Reply-To: <4DCC4C80.1070705@softpro.bz>
References: <4DCC4C80.1070705@softpro.bz>

On 13/05/11 07:09, hatem gamal elzanaty wrote:
> hi,
> i'm a php/mysql developer and want to work also with php/postgresql can
> you please tell me if there is a replacment for this sign ` in mysql to
> work with in postgresql to avoid problem of naming tables with reseved
> words

You can put double quotes around them but you have to do it all the time 
so if you can, I'd suggest renaming the fields and tables to avoid those 
words in the first place.

The list Rich mentioned is here: 
http://www.postgresql.org/docs/current/static/sql-keywords-appendix.html

-- 
Postgresql & php tutorials
http://www.designmagick.com/




view thread (4+ messages)  latest in thread

Message-ID: <4DCC669A.6090509@gmail.com>
Permalink:  ../4DCC669A.6090509@gmail.com/
Also on:    postgresql.org/message-id/4DCC669A.6090509@gmail.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: dmagick@gmail.com
  Subject: Re: syntax problem
  In-Reply-To: <4DCC669A.6090509@gmail.com>
  References: <4DCC4C80.1070705@softpro.bz> <4DCC669A.6090509@gmail.com>

* 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