]> 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:27 +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 6838db86eca9612f66f9ad9b4d1790687a582c51..0fcdabd7877fc8600d1aa6d058309a1cf7b0cccd 100644 (file)
@@ -5922,7 +5922,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 (