pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Louis-David Mitterrand <cunctator@apartia.ch>
To: PGSQL-SQL <pgsql-sql@postgresql.org>
Subject: ERROR: replace_vars_with_subplan_refs (!?)
Date: Wed, 20 Sep 2000 15:25:52 +0200
Message-ID: <20000920152552.A3958@styx> (raw)
In-Reply-To: <39C69B97.58B353A9@ec.gc.ca>
References: <39C69B97.58B353A9@ec.gc.ca>

How should I interpret that error?

auction=# SELECT (select max(b.price) from bid b where b.auction_id = a.id and b.person_id = buyer.id) as last_lot,auction_status(a.id) > 0 AS current, a.lot, a.person_id, next_price(a.id), seller.mail AS seller_mail, buyer.mail AS buyer_mail, seller.locale AS seller_locale, buyer.login AS buyer_login, num_bid(a.id), seller.login AS seller_login, t.name AS auction_type FROM auction* a, person seller, person buyer, auction_type t WHERE a.id = 84 AND seller.id = a.person_id AND COALESCE(a.type,1) = t.id AND buyer.id = 2;
ERROR:  replace_vars_with_subplan_refs: variable not in subplan target list

Thanks,

-- 
Louis-David Mitterrand - ldm@apartia.org - http://www.apartia.org

 Marijuana is nature's way of saying, "Hi!".



view thread (3+ messages)  latest in thread

Message-ID: <20000920152552.A3958@styx>
Permalink:  ../20000920152552.A3958@styx/
Also on:    postgresql.org/message-id/20000920152552.A3958@styx

 · 

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-sql@postgresql.org
  Cc: cunctator@apartia.ch
  Subject: Re: ERROR: replace_vars_with_subplan_refs (!?)
  In-Reply-To: <20000920152552.A3958@styx>
  References: <39C69B97.58B353A9@ec.gc.ca> <20000920152552.A3958@styx>

* 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