]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Fix SQL quoting in example
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 17 Jul 2026 13:45:30 +0000 (15:45 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 17 Jul 2026 14:04:20 +0000 (16:04 +0200)
The identifier "order" needs to be quoted, just like in the example a
little bit earlier.

Author: Thom Brown <thom@linux.com>
Discussion: https://www.postgresql.org/message-id/CAA-aLv4xyAaxm8vq5LEhznh-SGphs4wUAGC6Vpas%2B1hHZzzD7A%40mail.gmail.com

doc/src/sgml/ddl.sgml

index 3f3869df44e726a98744e51441c6b3ebf6a12637..19fa5d5fda8d3b2afef23d459e48485df6e92fc0 100644 (file)
@@ -5902,7 +5902,7 @@ CREATE PROPERTY GRAPH myshop
     VERTEX TABLES (
         products LABEL product,
         customers LABEL customer LABEL person PROPERTIES (name),
-        orders LABEL order,
+        orders LABEL "order",
         employees LABEL employee LABEL person PROPERTIES (employee_name AS name)
     )
     EDGE TABLES (