Re: how to get desired html format output?

Поиск
Список
Период
Сортировка
От Anne Wainwright
Тема Re: how to get desired html format output?
Дата
Msg-id 20120809094713.GB8405@fables.co.za
обсуждение исходный текст
Ответ на Re: how to get desired html format output?  (Jayadevan M <Jayadevan.Maymala@ibsplc.com>)
Ответы Re: how to get desired html format output?  (Andrej <andrej.groups@gmail.com>)
Re: how to get desired html format output?  (Michael Wood <esiotrot@gmail.com>)
Список pgsql-novice
On Thu, Aug 09, 2012 at 02:57:16PM +0530, Jayadevan M wrote:
> Hello,
>
> > would this normally be done perhaps with a file that could be called by
> > psql. This file with all the psql query commands/options and the html
> > formatting code within?
>
> 1) Turn on the HTML output option -
> newgendb=# \H
> Output format is html.
>
> 2) Direct the output to a file
>
> newgendb=# \o myfile.html
>
> 3) Execute the select
>
> 4) Turn off output
> newgendb=# \o
>
> Regards,
> Jayadevan
>
I know that this will make a table output but it isn't going to do
all the fancy formatting that I need like

<b>author</b> ... <i>condition</i> ... <fontt align=right>price</font>

so my question perhaps needs to be rephrased as 'how do I get specific
html text formatting commands in the html output?'

back to perl maybe? not an issue but being able to do something from
within postgresql would save that extra step.

Anne
>
>
>
>
> DISCLAIMER:
>
> "The information in this e-mail and any attachment is intended only for
> the person to whom it is addressed and may contain confidential and/or
> privileged material. If you have received this e-mail in error, kindly
> contact the sender and destroy all copies of the original communication.
> IBS makes no warranty, express or implied, nor guarantees the accuracy,
> adequacy or completeness of the information contained in this email or any
> attachment and is not liable for any errors, defects, omissions, viruses
> or for resultant loss or damage, if any, direct or indirect."
>
>
>
>

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

Предыдущее
От: Jayadevan M
Дата:
Сообщение: Re: how to get desired html format output?
Следующее
От: Andrej
Дата:
Сообщение: Re: how to get desired html format output?