Thread: pgsql-server/src/bin/psql common.c print.c print.h

pgsql-server/src/bin/psql common.c print.c print.h

From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@svr1.postgresql.org    03/06/12 04:52:51

Modified files:
    src/bin/psql   : common.c print.c print.h

Log message:
    Attached is a patch that enhances the output of psql's HTML mode.
    The output now validates as HTML 4.01 Strict, XHTML 1.0 strict,
    and XHTML 1.1 (assuming you wrap it in a valid html/body document).

    It also wraps the output of PGRES_COMMAND_OK if the HTML tag is on,
    for full compliance: this is why html_escaped_print has to be
    externalized.

    Greg Sabino Mullane greg@turnstep.com