Received: from necker.ac-rouen.fr (smtp.ac-rouen.fr [194.167.110.3]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f51EnxE19817 for ; Fri, 1 Jun 2001 10:49:59 -0400 (EDT) (envelope-from david.bouriaud@ac-rouen.fr) Received: from ac-rouen.fr (localhost.localdomain [127.0.0.1]) by necker.ac-rouen.fr (8.11.0/8.11.0) with ESMTP id f51EpON28201 for ; Fri, 1 Jun 2001 16:51:24 +0200 Message-ID: <3B17AC05.D0B381C6@ac-rouen.fr> Date: Fri, 01 Jun 2001 16:51:49 +0200 From: David BOURIAUD X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: fr, en MIME-Version: 1.0 To: "pgsql-sql@postgresql.org" Subject: [Fwd: Problem with pg_index.] Content-Type: multipart/mixed; boundary="------------5EA0398FEF040776F98B982A" X-Archive-Number: 200106/3 X-Sequence-Number: 3206 This is a multi-part message in MIME format. --------------5EA0398FEF040776F98B982A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit -- David BOURIAUD ---------------------------------------------------------- In a world without walls or fences, what use do we have for windows or gates ? ---------------------------------------------------------- ICQ#102562021 --------------5EA0398FEF040776F98B982A Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <3B17A962.4BB94E6A@ac-rouen.fr> Date: Fri, 01 Jun 2001 16:40:34 +0200 From: David BOURIAUD X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: fr, en MIME-Version: 1.0 To: Tom Lane Subject: Re: [SQL] Problem with pg_index. References: <3B179E1F.4F9D8A4B@ac-rouen.fr> <751.991405251@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Tom Lane wrote: You are totally right ! > > I don't think so: there is no such error string anywhere in the PG > sources. (Also, when I try the query, it seems to work fine.) > > However, I find the following possibly relevant match in the PGAccess FAQ: > > 8. I am receiving the following error: message invalid command > name "namespace" while executing "namespace eval Mainlib  ..." >
That means 100% that you have an older version of Tcl/Tk that > don't recognize namespaces command. Please upgrade to Tcl/Tk 8.0.x minimum
> > Are you using Tcl? If so, I'd bet the problem is on the client side. Indeed I use pgaccess, and when I type the query under psql, it works fine, so I'm downloading the sources of tcl8.3.3 and upgrade as soon as possible. Yet, I have a problem with complex keys, I can't check pg_index[0] on every row fetched, so, how can I do ? I've tried to add arrays extentions, but the *= operator doesn't work with int2vector.... How can I do then ? Thanks anyway ! Have a nice week-end. -- David BOURIAUD ---------------------------------------------------------- In a world without walls or fences, what use do we have for windows or gates ? ---------------------------------------------------------- ICQ#102562021 --------------5EA0398FEF040776F98B982A--