From: Constantin Teodorescu <teo@flex.ro>
To: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
To: pgsql-hackers@postgreSQL.org <pgsql-hackers@postgresql.org>
Subject: libpgtcl and array fields return format - PROPOSAL
Date: Wed, 11 Aug 1999 06:26:23 +0000
Message-ID: <37B1178F.1BDFB003@flex.ro> (raw)
Hi,
In libpgtcl, pg_select an array field is return as the following string:
{"red","blue","green"}
and it's rather difficult to process them as a normal tcl list.
The same thing for pg_exec, pg_result/tupleArray
I think it would be better to return the string as:
"red" "blue" "green"
and tcl users could directly process the array as an ordinary tcl list.
As far as I know, arrays are not heavily used by libpgtcl users (thought
it's an interesting feature) so changing format would not affect too
many applications but will encourage array field usage in future.
What do you think?
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, pgsql-hackers@postgresql.org
Subject: Re: libpgtcl and array fields return format - PROPOSAL
In-Reply-To: <37B1178F.1BDFB003@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