Tal vez esto te sirva.
postgres=# CREATE TABLE tb (name text);
CREATE TABLE
postgres=# INSERT INTO tb VALUES ('adrian');
INSERT 0 1
postgres=# SELECT '"'||name||'"' FROM tb;
?column?
----------
"adrian"
(1 row)
Lo que se está concatenando son comillas dobles entre comillas simples.
Saludos
10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci