Bruce Momjian wrote:
> As many know, the FRONTEND usage of /src/port is very fragile.  It
> requires every binary that uses certain libpgport object files to create
> its own version, which is very fragile, and could easily break if a
> function call is added in a subrelease, especially on certain ports.
> 
> The following patch addresses this issue by making libpgport usable
> unchanged by client applications, and makes a special server version for
> the backend.   This is much less fragile than trying to make sure you
> hit every single binary that uses libpgport.  
> 
> I originally tried abstracting out the #ifdef FRONTEND defines in pgport
> but found that that wasn't easily done so making separate libraries was
> cleaner.

Here is an updated version of the patch:

        ftp://candle.pha.pa.us/pub/postgresql/mypatches

I made the suggested modifications and added more comments.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to