pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: SL Baur <steve@beopen.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: PostgreSQL-documentation <docs@postgresql.org>
Subject: Re: [HACKERS] Re: Update doc changes needed
Date: Fri, 9 Jun 2000 22:15:35 -0400 (EDT)
Message-ID: <200006100215.WAA08561@candle.pha.pa.us> (raw)
In-Reply-To: <9550.953877665@sss.pgh.pa.us>

OK, seems the issue is closed.

> SL Baur <steve@beopen.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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (2+ messages)

Message-ID: <200006100215.WAA08561@candle.pha.pa.us>
Permalink:  ../200006100215.WAA08561@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200006100215.WAA08561@candle.pha.pa.us

 · 

reply

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-docs@postgresql.org
  Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, steve@beopen.com, pgsql-hackers@postgresql.org, docs@postgresql.org
  Subject: Re: [HACKERS] Re: Update doc changes needed
  In-Reply-To: <200006100215.WAA08561@candle.pha.pa.us>

* 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