Re: [HACKERS] Re: retrieving varchar size - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Re: retrieving varchar size
Date
Msg-id 199804271452.KAA04993@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Re: retrieving varchar size  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
>
> 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@candle.pha.pa.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)

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size