Re: State of Beta 2 - Mailing list pgsql-general

From Bruce Momjian
Subject Re: State of Beta 2
Date
Msg-id 200309272144.h8RLiTJ14335@candle.pha.pa.us
Whole thread Raw
In response to Re: State of Beta 2  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: State of Beta 2
Re: State of Beta 2
List pgsql-general
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > With all the discussion and pg_upgrade, I saw no one offer to work on
> > it.
> > Does someone want to convert it to Perl?  I think that would be a better
> > language than shell script for this purpose, and C is too low-level.
>
> The reason that it needs to be rewritten in C is that it needs access to
> internal stuff that the backend doesn't expose.  (For example, the
> transaction counter, end-of-WAL pointer, etc.)  I don't think Perl would
> offer anything except creating an entirely new dependency for Postgres.
> Also, C code would be easier to keep in sync with the backend code that
> accesses the same stuff.

True, but doing all that text manipulation is C is going to be very hard
to do and maintain.

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

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: State of Beta 2
Next
From: Vincent Janelle
Date:
Subject: Re: Can't Build 7.3.4 on OS X