On Sat, 2003-09-27 at 17:13, Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Tom Lane wrote:
> >> The reason that it needs to be rewritten in C is that it needs access to
> >> internal stuff that the backend doesn't expose.
>
> > True, but doing all that text manipulation is C is going to be very hard
> > to do and maintain.
>
> Text manipulation? I don't think that pg_upgrade has to do much text
> manipulation. (The shell-script version might do so, but that's only
> because it has to cast the problem in terms of program I/O.)
There's always the general point that C has more pitfalls (mainly
from pointers/free()/malloc(), and HLLs do more for you, thus you
have to code less, and, consequently, there are fewer bugs.
--
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA
484,246 sq mi are needed for 6 billion people to live, 4 persons
per lot, in lots that are 60'x150'.
That is ~ California, Texas and Missouri.
Alternatively, France, Spain and The United Kingdom.