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

Re: libpq++: combined patches based on 7.1b5

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: J(dot)(at)candle(dot)pha(dot)pa(dot)us, T(dot)(at)candle(dot)pha(dot)pa(dot)us, Vermeulen <jtv(at)cistron-office(dot)nl>
Cc: PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: libpq++: combined patches based on 7.1b5
Date: 2001-05-09 17:45:43
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
> > Here's a version of my suggested diffs transplanted to 7.1 beta 5.  I'm still
> > looking at the best way to integrate Tom Vijlbrief's fixes (insofar as they're
> > still needed); would 7.2 be a suitable time for incompatible API changes?
> > 
> As far as changes, 7.2 would be fine for changing the API, if there is a
> good reason to do it.  For example, I see getLength returns a short. 
> With 7.1's new longer tuples, that should now be changed to int, at
> least.  (I have updated libpq++/TODO to mention this.)

I was wrong.  It was not getLength, but FieldSize that was the problem.

OK, I thought, how hard can it be to change, and indeed, it was quite
easy.  Patch attached and applied.  Seems we have to break the API to
allow long field values.  Max field length is now 1GB.

  Bruce Momjian                        |
  pgman(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

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2001-05-09 17:53:53
Subject: libpq++ FieldSize fix
Previous:From: Bruce MomjianDate: 2001-05-09 17:35:42
Subject: Re: libpq++

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