Re: Colors/bold chars in a select? - Mailing list pgsql-novice

From
Subject Re: Colors/bold chars in a select?
Date
Msg-id 20060413204952.61552.qmail@web33309.mail.mud.yahoo.com
Whole thread Raw
In response to Colors/bold chars in a select?  (Ennio-Sr <nasr.laili@tin.it>)
Responses Re: Colors/bold chars in a select?
List pgsql-novice
> Hi all!
> This is just a peregrine thought:
> is it at all possible to print (on screen) in bold
> chars/or colour the
> lines of a select result that satisfy a certain
> condition?
> Regards,
>     Ennio

it seems to me that the method woul dbe specific to
whatever system you are using to display the data.

eg, if the display is html, then you could include
html (or some conversion that could be converted back
to avoid scripting attacks) where applicable.

you may also be able to display the text and apply
regexes in order to identify the characters and then
make them bold without the html in the db.

perhaps a stored procedure could help with this, but i
lack experience in that area as of now.

this seems like more of an application problem than a
db problem, though.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

pgsql-novice by date:

Previous
From: Ennio-Sr
Date:
Subject: Colors/bold chars in a select?
Next
From: James.M.Jocius@skf.com
Date:
Subject: Steps to open or import a data file from Pg 8.1.3?