Re: Valid HTML/XHTML output for psql

Поиск
Список
Период
Сортировка
От greg@turnstep.com
Тема Re: Valid HTML/XHTML output for psql
Дата
Msg-id d64866317abd4d5d9410995f97b3536f@biglumber.com
обсуждение исходный текст
Ответ на Re: Valid HTML/XHTML output for psql  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: array support patch phase 1 patch
Следующее
От: Joe Conway
Дата:
Сообщение: Re: array support patch phase 1 patch