pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Guy Deleeuw <G.De_Leeuw@eurofer.be>
Cc: pgsql-admin@postgresql.org
Subject: Re: sql command strange behaviour
Date: Mon, 06 Oct 2008 10:12:16 -0400
Message-ID: <3155.1223302336@sss.pgh.pa.us> (raw)
In-Reply-To: <48E9CD06.4030307@eurofer.be>
References: <864f9e230810040547j62e8d50cs6d30932d9f4c1f0@mail.gmail.com>
	<48E774A7.2020409@eurofer.be>
	<864f9e230810040653o7ef5a1c5l20ea3946545dc323@mail.gmail.com>
	<48E9CD06.4030307@eurofer.be>

Guy Deleeuw <G.De_Leeuw@eurofer.be> writes:
> Now I execute this query that request one column more, the "ind" field., 
> the return of this query is bad.

You didn't say what you think is bad about it ... but in any case I'll
bet that this bit isn't doing what you want:

	... AND (ind=ind) ...

As-is it's useless.  You probably need to table-qualify one or both
names.

			regards, tom lane



view thread (2+ messages)

Message-ID: <3155.1223302336@sss.pgh.pa.us>
Permalink:  ../3155.1223302336@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3155.1223302336@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, G.De_Leeuw@eurofer.be
  Subject: Re: sql command strange behaviour
  In-Reply-To: <3155.1223302336@sss.pgh.pa.us>

* 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