From: Constantin Teodorescu <teo@flex.ro>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] libpgtcl and array fields return format - PROPOSAL
Date: Wed, 11 Aug 1999 15:01:21 +0000
Message-ID: <37B19041.2FBAA5AE@flex.ro> (raw)
References: <7653.934382778@sss.pgh.pa.us>
Tom Lane wrote:
>
> As you noticed later, there is some optional TCL_ARRAYS code that
> purports to do something like this, but I think it's pretty broken.
>
> What seems like it would be fairly safe is to introduce separate Tcl
> functions that convert between Postgres array format and Tcl list
> format, and leave it to the user to apply these functions to data that
> he knows is arrays...
This is a better idea. I have recompiled libpgtcl with TCL_ARRAYS and
noticed that you can fool it by sending a string field formatted as an
array and he makes the translation into the list. Not good :-(
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
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
Subject: Re: [INTERFACES] libpgtcl and array fields return format - PROPOSAL
In-Reply-To: <37B19041.2FBAA5AE@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