Skip site navigation (1) Skip section navigation (2)

Re: gettext calls in pgport

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: gettext calls in pgport
Date: 2004-10-25 02:44:54
Message-ID: 200410250244.i9P2is008993@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut wrote:
> Am Montag, 18. Oktober 2004 19:43 schrieb Tom Lane:
> > An alternative possibility is to stop pretending that pgport is agnostic
> > about whether it is in backend or frontend.  This might mean some
> > duplication of code between src/port/ and src/backend/port/, but if
> > that's what it takes to have sane error handling, that's what we should do.
> 
> The original plan for libpgport was to be a repository of functions that 
> replace missing operating system functionality, like libiberty.  I would have 
> have liked to be able to lift these functions into other projects without 
> complications.  That implies that these functions should certainly not care 
> about anything that by definition goes on above the operating system level.
> 
> Now the directory has grown into a sort of general repository of code that is 
> shared between more than one part of the PostgreSQL source tree, without any 
> regard for well-defined interfaces.  If you need to do that, please put it 
> elsewhere, where only the involved parts see it.  Not now, but in the future.

So we will have a pgport and a pgshare?  I don't see a huge value in
that.  Ideally, yea, they are different concepts but practially it seems
like a waste to make the distinction.

-- 
  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

In response to

pgsql-hackers by date

Next:From: Philip WarnerDate: 2004-10-25 03:29:28
Subject: Re: Using ALTER TABLESPACE in pg_dump
Previous:From: Bruce MomjianDate: 2004-10-25 02:38:40
Subject: Re: Using ALTER TABLESPACE in pg_dump

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group