pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Papp Gyozo <pgerzson@freestart.hu>
To: Patrick Hatcher <PHatcher@macys.com>
To: Joseph L Montes <jmontes@zenplex.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Looking for help
Date: Wed, 28 Aug 2002 02:06:14 +0200
Message-ID: <E17jqKj-0008Ln-00@pompom.freestart.hu> (raw)
In-Reply-To: <OF8E4292F2.030BB2E7-ON88256C22.007E868A-88256C22.007ED83B@fds.com>
References: <OF8E4292F2.030BB2E7-ON88256C22.007E868A-88256C22.007ED83B@fds.com>

2002. augusztus 28. 01:05 dátummal Patrick Hatcher ezt írta:
>  Use quotes around the field and table names that are not all lower
> case:
>
> Ex:
> $result = pg_query($db," Select 'Field1',field2, 'fEild3'
> From'TABLE1' ");
>

AFAIK, opstgres needs double quotes to handle objects' names literally
-- as written:

$result = pg_query($db,' Select "Field1",field2, "fiEld3"
 From "TABLE1"');

text within simple quotes represents string literals.

-- 
Papp, Győző
- pgerzson@freestart.hu




view thread (5+ messages)  latest in thread

Message-ID: <E17jqKj-0008Ln-00@pompom.freestart.hu>
Permalink:  ../E17jqKj-0008Ln-00@pompom.freestart.hu/
Also on:    postgresql.org/message-id/E17jqKj-0008Ln-00@pompom.freestart.hu

 · 

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: pgerzson@freestart.hu, PHatcher@macys.com, jmontes@zenplex.com
  Subject: Re: Looking for help
  In-Reply-To: <E17jqKj-0008Ln-00@pompom.freestart.hu>
  References: <OF8E4292F2.030BB2E7-ON88256C22.007E868A-88256C22.007ED83B@fds.com> <E17jqKj-0008Ln-00@pompom.freestart.hu>

* 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