On Mon, Feb 16, 2009 at 12:39:32PM +0200, Peter Eisentraut wrote:
> On Monday 16 February 2009 12:06:55 Michael Meskes wrote:
> > On Fri, Feb 13, 2009 at 10:58:42AM +0200, Peter Eisentraut wrote:
> > > Will a program built with ecpg 8.4 run against a 7.4 server work the
> > > same as the same program built with ecpg 7.4 run against a 7.4 server?
> > > (This implies that the program uses only features present in 7.4.)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > No, if the program's SQL is 8.4 specific it won't work.
>
> But that wasn't the question.
Oops, I misunderstood. ecpg itself and its libraries do not use anything
version related. All conversation runs through libpq and only one SQL statement
is issued by the library itself: "select typlen from pg_type where oid=%d and
typelem<>0".
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!