Re: Valid HTML/XHTML output for psql

From: greg(at)turnstep(dot)com
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: Valid HTML/XHTML output for psql
Date: 2003-06-02 00:43:28
Message-ID: d64866317abd4d5d9410995f97b3536f@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)turnstep(dot)com
PGP Key: 0x14964AC8 200306012126
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Sabino Mullane 2003-06-02 00:56:42 Detecting proper bison version before make
Previous Message Joe Conway 2003-06-02 00:09:49 Re: array support patch phase 1 patch