Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group