The use of (mb)print.c from psql in the scripts directory - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject The use of (mb)print.c from psql in the scripts directory
Date
Msg-id 20051025193530.GJ22318@svana.org
Whole thread Raw
Responses Re: The use of (mb)print.c from psql in the scripts directory
Re: The use of (mb)print.c from psql in the scripts directory
List pgsql-hackers
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.

Thanks in advance,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

pgsql-hackers by date:

Previous
From: Anuj Tripathi
Date:
Subject: Postrges Queries Estimator
Next
From: Bruce Momjian
Date:
Subject: Re: expanded \df+ display broken in beta4