pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Markus Schaber <schabi@logix-tt.com>
Cc: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Re: Slightly confused error message
Date: Fri, 28 Apr 2006 15:02:42 -0400
Message-ID: <15232.1146250962@sss.pgh.pa.us> (raw)
In-Reply-To: <44524310.70906@logix-tt.com>
References: <44523BF1.1080307@logix-tt.com>
	<1612.1146240424@sss.pgh.pa.us>
	<44524310.70906@logix-tt.com>

Markus Schaber <schabi@logix-tt.com> writes:
> Yes, and my question is whether it is easy and worth the effort. to add
> that information (about the acutally offending subquery) to the message.

I'm not sure about localizing the subquery per se, but it might be
possible to add a syntax pointer to the specific variable occurrence
that it's complaining about.  That would help at least somewhat in
cases like this.

			regards, tom lane



view thread (5+ messages)

Message-ID: <15232.1146250962@sss.pgh.pa.us>
Permalink:  ../15232.1146250962@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15232.1146250962@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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, schabi@logix-tt.com
  Subject: Re: Slightly confused error message
  In-Reply-To: <15232.1146250962@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