summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson2022-12-02 10:31:54 +0000
committerDaniel Gustafsson2022-12-02 10:31:54 +0000
commitab810062991295f63612a997e872232a6f1a3ef6 (patch)
tree271c85a81216dc2bd3af48f3758ccf7694a3eea5
parentfb958b5da86da69651f6fb9f540c2cfb1346cdc5 (diff)
doc: fix type alignment for CREATE TABLE in triggers
Datatypes in CREATE TABLE statements in the examples were vertically aligned in most cases, a few examples were unaligned with a single space. This makes sure all examples on the same page are consistently aligned. Patch by Laurenz Albe with some additional fixups by me. Author: Laurenz Albe <[email protected]> Reported-by: [email protected] Discussion: https://postgr.es/m/[email protected]
-rw-r--r--doc/src/sgml/plpgsql.sgml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index dda667e68e..2b2a1a8215 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -4230,10 +4230,10 @@ ASSERT <replaceable class="parameter">condition</replaceable> <optional> , <repl
<programlisting>
CREATE TABLE emp (
- empname text,
- salary integer,
- last_date timestamp,
- last_user text
+ empname text,
+ salary integer,
+ last_date timestamp,
+ last_user text
);
CREATE FUNCTION emp_stamp() RETURNS trigger AS $emp_stamp$
@@ -4292,7 +4292,7 @@ CREATE TABLE emp_audit(
stamp timestamp NOT NULL,
userid text NOT NULL,
empname text NOT NULL,
- salary integer
+ salary integer
);
CREATE OR REPLACE FUNCTION process_emp_audit() RETURNS TRIGGER AS $emp_audit$
@@ -4589,7 +4589,7 @@ CREATE TABLE emp_audit(
stamp timestamp NOT NULL,
userid text NOT NULL,
empname text NOT NULL,
- salary integer
+ salary integer
);
CREATE OR REPLACE FUNCTION process_emp_audit() RETURNS TRIGGER AS $emp_audit$