Skip site navigation (1) Skip section navigation (2)

Re: Re: [SQL] indexing arrays in pgaccess's query interface is failing

From: Constantin Teodorescu <teo(at)flex(dot)ro>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: David Stanaway <david(at)netventures(dot)com(dot)au>, pgsql-sql(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Re: [SQL] indexing arrays in pgaccess's query interface is failing
Date: 2001-07-04 13:02:02
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfacespgsql-sql
Tom Lane wrote:
> [ redirected to pgsql-interfaces, which seems a more appropriate venue ]
> David Stanaway <david(at)netventures(dot)com(dot)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!


In response to

pgsql-interfaces by date

Next:From: Oscar SerranoDate: 2001-07-04 14:41:38
Subject: RE: non-us datestyle
Previous:From: Cedar CoxDate: 2001-07-04 12:52:49
Subject: non-us datestyle

pgsql-sql by date

Next:From: RaghavendraDate: 2001-07-04 13:18:06
Subject: Problem in running the postmaster
Previous:From: Martín MarquésDate: 2001-07-04 12:44:05
Subject: Re: count(*)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group