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.)
Uh, it seems to have to push a lot of data around, filename/relname
mapping, etc. It almost wants a database.
--
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