From: Jascha Schubert <JTSMailing@gmx.net>
To: pgsql-php@postgresql.org
Subject: Quotes
Date: Mon, 4 Nov 2002 19:05:36 +0100
Message-ID: <200211041905.36251.JTSMailing@gmx.net> (raw)
Ok next problem ;)
I've a table with a field called end in it. In Postgres now this seems to be a
resevated keyword. So i have to put in i quotes. Now: Postgres want "end" and
mysql want `end`.
Just one question: Is there an quoting mechnism that will work for both dbs ?
Otherwise I will just use an $db_quote variable.
btw: why are they doing this ?
jascha
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: JTSMailing@gmx.net
Subject: Re: Quotes
In-Reply-To: <200211041905.36251.JTSMailing@gmx.net>
References: <200211041905.36251.JTSMailing@gmx.net>
* 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