From: Goran Thyni <goran@bildbasen.se>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgreSQL.org
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Convert PGconn, PGresult to opaque types?
Date: Mon, 24 Aug 1998 14:50:51 +0200
Message-ID: <35E161AB.7DC7012A@bildbasen.se> (raw)
References: <199808240121.VAA29023@candle.pha.pa.us>
Bruce Momjian wrote:
> > Basically this would force applications to use the accessor functions
> > as recommended in the documentation, and not touch fields of a PGconn
> > object directly. (Ditto for PGresult.)
>
> I am scared about external stuff like php. If they use it, and we
> release something that doesn't work with their stuff, we are cooked
> until they upgrade.
>
> Not really sure what the advantage would be, aside from cleanliness.
The cleaness allows us to change the interals without breaking "external
stuff".
I think Tom is aiming for thread-safeness which can't be done as long as
external stuff insists on accessing global structs inside libpq.
Sometimes we have to break thing to make them work better.
regards,
--
---------------------------------------------
Göran Thyni, sysadm, JMS Bildbasen, Kiruna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: goran@bildbasen.se, maillist@candle.pha.pa.us, tgl@sss.pgh.pa.us, pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Convert PGconn, PGresult to opaque types?
In-Reply-To: <35E161AB.7DC7012A@bildbasen.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox