Re: Valid HTML/XHTML output for psql - Mailing list pgsql-patches

From greg@turnstep.com
Subject Re: Valid HTML/XHTML output for psql
Date
Msg-id d64866317abd4d5d9410995f97b3536f@biglumber.com
Whole thread Raw
In response to Re: Valid HTML/XHTML output for psql  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> I don't agree with this part.  The formatting option is supposed to
> control the format of tables, but the output of PGRES_COMMAND_OK isn't a
> table.

I can see that argument, but it also currently formats \d commands as
well as things like EXPLAIN ANALYZE. It just seems to me that if you
request HTML mode, you should get valid HTML on all output going to
your filehandle. Most people using HTML are not viewing it directly
anyway (nor should they), so there is a clear advantage is wrapping
everything we can (e.g. everything captured by \o)

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200306012126
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE+2qv1vJuQZxSWSsgRAubiAKCDRZgO/8Wa5YhSXpsJWveiOl5Z8ACg6Jgk
WnEoVCLfiX1tCwdMmOZawM8=
=lIKi
-----END PGP SIGNATURE-----



pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: array support patch phase 1 patch
Next
From: Joe Conway
Date:
Subject: Re: array support patch phase 1 patch