Re: 8.4 TODO item: make src/port support libpq and ecpg directly

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.4 TODO item: make src/port support libpq and ecpg directly
Date: 2008-03-25 00:02:11
Message-ID: 200803250002.m2P02Bh10012@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Added to TODO:

* Create three versions of libpgport to simplify client code

http://archives.postgresql.org/pgsql-hackers/2007-10/msg00154.php

---------------------------------------------------------------------------

Tom Lane wrote:
> This business with having libpq and ecpg pull in src/port modules
> manually is getting unmaintainable. I wonder whether we could persuade
> src/port to generate three versions of libpgport.a --- backend,
> frontend, and frontend-shlib-ready --- and then just -l the appropriate
> one in libpq and ecpg. This'd waste a few cycles building modules that
> would never be used, but on the other hand we'd buy some of that back
> by not building the same object files three or four times.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-03-25 00:05:20 Re: Deprecating heap_formtuple/heap_modifytuple/heap_deformtuple
Previous Message Bruce Momjian 2008-03-24 23:46:29 Re: proposal casting from XML[] to int[], numeric[], text[]