Re: [HACKERS] libpgtcl and array fields return format - PROPOSAL

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Constantin Teodorescu <teo(at)flex(dot)ro>
Cc: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, PostgreSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org>, "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] libpgtcl and array fields return format - PROPOSAL
Date: 1999-08-11 14:14:09
Message-ID: 199908111414.KAA27351@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

> For the moment, the current syntax helps PgAccess. It returns exactly
> the same format as it would be used to INSERT INTO queries so if you
> would try to define a table with an array field of strings for example
> you are able to add records and update them directly from PgAccess.
> >From that point of view, the new array field return format would give me
> headaches for Pgaccess in order to restore the {"..","..",".."} format
> used for updating records.
>
> Am I missing something about the *input* format?
>
> On the other hand, I have discovered in the libpgtcl source that there
> is a TCL_ARRAYS that if defined, would return array fields format
> exactly as a tcl list. But it is not defined anywhere. I think that the
> behaviour of libpgtcl should be consistent so should we define
> TCL_ARRAYS by default in the next release?

That define is from Massimo. Let's enable it.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-08-11 14:15:35 Re: [HACKERS] Crisp text editor [definitely OT]
Previous Message Thomas Lockhart 1999-08-11 13:19:08 Re: [HACKERS] libpgtcl and array fields return format - PROPOSAL

Browse pgsql-interfaces by date

  From Date Subject
Next Message Constantin Teodorescu 1999-08-11 14:27:06 Re: [INTERFACES] Regarding selction of query
Previous Message SUMA R 1999-08-11 13:46:02 Regarding selction of query