Re: Html output

Поиск
Список
Период
Сортировка
От Antti Haapala
Тема Re: Html output
Дата
Msg-id Pine.GSO.4.44.0302061841280.24627-100000@paju.oulu.fi
обсуждение исходный текст
Ответ на Html output  ("Molenda, Mark P" <mark.molenda@eds.com>)
Список pgsql-novice
On Thu, 6 Feb 2003, Molenda, Mark P wrote:
> I know when you use psql you can set the output of a query to html with a
> "\H".  Is there a way in Java's JDBC to instruct postgres to return it's
> results in this format?  If not, can I set postgres up to use html as it's
> default response to queries?  If I can get this to work all I need to do
> inside my program is send the result to the PrintWriter and display the
> result.

The HTML rendering is provided by C client library, which psql also uses.
There's no way of forcing the backend to send query results in HTML. I'm
not familiar with JDBC though. It may offer such a functionality.

--
Antti Haapala



В списке pgsql-novice по дате отправления:

Предыдущее
От: Antti Haapala
Дата:
Сообщение: Re: Html output
Следующее
От: Antti Haapala
Дата:
Сообщение: Re: using copy to insert data.