pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Constantin Teodorescu <teo@flex.ro>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Stanaway <david@netventures.com.au>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Re: [SQL] indexing arrays in pgaccess's query interface is failing
Date: Wed, 04 Jul 2001 16:02:02 +0300
Message-ID: <3B4313CA.FE04D0BA@flex.ro> (raw)
References: <E15HMZC-0004Wc-00@runt.in.netventures.com.au>
	<18354.994171319@sss.pgh.pa.us>

Tom Lane wrote:
> 
> [ redirected to pgsql-interfaces, which seems a more appropriate venue ]
> 
> David Stanaway <david@netventures.com.au> writes:
> > --.. And now the query that I am having problems with.
> >
> > SELECT itID, itProperties[akID], akName
> > FROM items, arraykeys;
> >
> > In pgaccess,
> > when I try to execute the same query in query builder,
> > I get the tcl error dialogue:
> > Error: invalid command name "akID"
> 
> Someone isn't quoting the query string correctly on the Tcl side ---
> [akID] is Tclese for command substitution.  Sounds like pgaccess expects
> the user to quote command punctuation characters that should be passed
> through.  Not sure if that should be regarded as a bug or a feature.
> It could be considered a feature that you can enter SQL commands with
> Tcl command substitution performed on them, but it's something that
> would confuse non-Tcl-users a lot.

Got the message!

I'll fix the Query builder to quote []'s!

Teo



view thread (3+ messages)

Message-ID: <3B4313CA.FE04D0BA@flex.ro>
Permalink:  ../3B4313CA.FE04D0BA@flex.ro/
Also on:    postgresql.org/message-id/3B4313CA.FE04D0BA@flex.ro

 · 

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-interfaces@postgresql.org
  Cc: teo@flex.ro, tgl@sss.pgh.pa.us, david@netventures.com.au, pgsql-sql@postgresql.org
  Subject: Re: Re: [SQL] indexing arrays in pgaccess's query interface is failing
  In-Reply-To: <3B4313CA.FE04D0BA@flex.ro>

* 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