]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix SQL highlighting in pgsql docs 10434/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 21 May 2021 13:36:54 +0000 (15:36 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 27 May 2021 10:13:43 +0000 (12:13 +0200)
docs/backends/generic-postgresql.rst

index 61d886a177d6f67796136537b1714f103bcccadb..18f9b3abf561f5e9948397f222b75b839296f38e 100644 (file)
@@ -136,20 +136,20 @@ Given the normal pgsql schema, change the following:
   CREATE SEQUENCE key_id MAXVALUE 2147483648;
   CREATE SEQUENCE tsig_id MAXVALUE 2147483648;
 
-2. Change all SERIAL / BIGSERIAL columns to use the SEQUENCEs. For instance:
+2. Change all SERIAL / BIGSERIAL columns to use the SEQUENCEs. For instance, change
 
 .. code-block:: SQL
 
-  -- Before
   CREATE TABLE domains (
     id SERIAL PRIMARY KEY,
-    --
-  }
+  )
+
+to
+
+.. code-block:: SQL
 
-  -- After
   CREATE TABLE domains (
     id INT DEFAULT nextval('domain_id') PRIMARY KEY,
-    --
   );