Martijn van Oosterhout wrote:
-- Start of PGP signed section.
> Currently createlang and droplang use these two files mbprint.c and
> print.c to access the function printQuery() just to handle the
> displaying of the current languages. Is there any particular reason why
> it can't be made to use the version in libpq?
>
> In particular, does anyone really rely on the possibility of createlang
> invoking your pager to display the list of languages? It really does,
> you just have to make your terminal really small to see it.
>
> The reason I'm asking is because I'm working on the interaction between
> psql and the pager and keep running into issues w.r.t. createlang using
> the same code.
Yea, I think it would be good to use libpq rather than grab from psql.
-- 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,
Pennsylvania19073