Re: [HACKERS] Re: retrieving varchar size

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: pgsql-hackers(at)postgreSQL(dot)org, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: retrieving varchar size
Date: 1998-04-27 14:52:44
Message-ID: 199804271452.KAA04993@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

>
> Does what you describe actually work in the current backend?
>
> The problem on the libpq side is basically that the PGresult structure
> is not able to represent more than one tuple descriptor. AFAICS, we can't
> tamper with that without breaking all existing applications. However,
> if we make the changes being discussed in this thread then it would be
> a simple matter to return a *series* of PGresult structures for this
> sort of query.
>
> Whether an application is capable of handling that is another story,
> but at least the data could be passed through.
>
I would move forward, and see if anything breaks. If the regression
tests pass, that is a good sign it works.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-04-27 14:54:13 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous Message Tom Lane 1998-04-27 14:52:05 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 1998-04-27 14:54:13 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous Message Tom Lane 1998-04-27 14:52:05 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size