pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Chris FR <gras.christophe@libertysurf.fr>
Cc: pgsql-php@postgresql.org
Subject: Re: Strange browser behavior when querying PostgreSql database
Date: Fri, 5 Sep 2003 07:31:50 -0500
Message-ID: <20030905123150.GA10433@wolff.to> (raw)
In-Reply-To: <2a584f81.0309020650.6457780e@posting.google.com>
References: <2a584f81.0309020650.6457780e@posting.google.com>

On Tue, Sep 02, 2003 at 07:50:15 -0700,
  Chris  FR <gras.christophe@libertysurf.fr> wrote:
> 
> SELECT a.* FROM a WHERE a.idf = b.id

You shouldn't use the above syntax as it is non standard and is more
commonly used by mistake than intentionally. People looking at your code
later will wonder what you were really trying to do.

> I solved the problem by modifying the request :
> 
> SELECT a.* FROM a, b WHERE a.idf = b.id
> 
> Now the script works.

I am not sure why there is a difference in these two cases. Possibly you
didn't give us the real queries and there is something else going on.



view thread (9+ messages)  latest in thread

Message-ID: <20030905123150.GA10433@wolff.to>
Permalink:  ../20030905123150.GA10433@wolff.to/
Also on:    postgresql.org/message-id/20030905123150.GA10433@wolff.to

 · 

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: bruno@wolff.to, gras.christophe@libertysurf.fr
  Subject: Re: Strange browser behavior when querying PostgreSql database
  In-Reply-To: <20030905123150.GA10433@wolff.to>
  References: <2a584f81.0309020650.6457780e@posting.google.com> <20030905123150.GA10433@wolff.to>

* 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