Re: [HACKERS] Re: Update doc changes needed

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: SL Baur <steve(at)beopen(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL-documentation <docs(at)postgresql(dot)org>
Subject: Re: [HACKERS] Re: Update doc changes needed
Date: 2000-06-10 02:15:35
Message-ID: 200006100215.WAA08561@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

OK, seems the issue is closed.

> SL Baur <steve(at)beopen(dot)com> writes:
> > I made a test patch last weekend if you want it. It's been stress
> > tested in an XEmacs Lisp-calling-libpq environment.
>
> > This patch adds a PQsetenvClear function that is analogous to the
> > clear function for PQresult's and changes the PQsetenvPoll call to
> > accept a PQsetenvHandle. The PQsetenvHandle is freed automatically
> > when called during a database connect. When the asynchronous setenv
> > calls are called by application code, it is now the responsibility of
> > the application code to free the setenvHandle with PQsetenvClear.
>
> I think this is just throwing good work after bad. The entire exercise
> can be eliminated by merging the two useful fields of the 'handle'
> object into PGconn (at a net cost of 4 bytes); there's no reason to do
> all the bookkeeping needed to keep track of a separate handle object.
>
> I already did that, and de-exported the PQsetenv routines, earlier
> today. Since I still haven't heard anyone make an argument why any
> app would want to call PQsetenv, I don't see a reason to do more work
> on these routines.
>
> regards, tom lane
>

--
Bruce Momjian | http://www.op.net/~candle
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

Browse pgsql-docs by date

  From Date Subject
Next Message =?koi8-r?Q?=E1=CC=C5=CB=D3=C1=CE=C4=D2=20=F3=C5=D2=C7=C5=C5=D7=C9=DE=20=F0=D5=DB=CB=C9=CE?= 2000-06-12 05:50:19 Сказка о царе Кучме
Previous Message Bruce Momjian 2000-06-10 02:14:10 Re: Update doc changes needed

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2000-06-10 03:59:33 Re: ALTER TABLE DROP COLUMN
Previous Message Bruce Momjian 2000-06-10 02:14:10 Re: Update doc changes needed