AsciiDoc

A human-readable plain-text markup format

AsciiDoc is a human-readable text document format which uses plain-text mark-up convention semantically equivalent to DocBook XML.

Usage in PostgreSQL

PostgreSQL itself does not use AsciiDoc for any paritucular purpose. However, beginning with PostgreSQL 9.5 (commit 9d9991c8), the psql command line output can optionally generate output in AsciiDoc format. See the Examples section below.

Examples

Simple example of psql output in AsciiDoc format:

postgres=# \pset format asciidoc
Output format is asciidoc.

postgres=# SELECT 1;

[options="header",cols=">l",frame="none"]
|====
^l|?column?
|1
|====

....
(1 row)
....

Categories

Documentation

See also

DocBook XML