From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Preliminary patch for FRONTEND |
Date: | 2004-10-02 04:34:13 |
Message-ID: | 200410020434.i924YDe06795@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
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
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Mahmoud Taghizadeh | 2004-10-02 08:07:43 | FAQ in farsi (txt version) |
Previous Message | Bruce Momjian | 2004-10-02 01:12:04 | Re: Preliminary patch for FRONTEND |