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.)
regards, tom lane