]> granicus.if.org Git - postgresql/commitdiff
Explicitly test various comment syntaxes.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Thu, 18 Sep 1997 03:52:43 +0000 (03:52 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Thu, 18 Sep 1997 03:52:43 +0000 (03:52 +0000)
src/test/regress/expected/comments.out [new file with mode: 0644]

diff --git a/src/test/regress/expected/comments.out b/src/test/regress/expected/comments.out
new file mode 100644 (file)
index 0000000..5fcfa44
--- /dev/null
@@ -0,0 +1,35 @@
+QUERY: SELECT 'trailing' AS first;
+first   
+--------
+trailing
+(1 row)
+
+QUERY:  
+SELECT /* embedded single line */ 'embedded' AS second;
+second  
+--------
+embedded
+(1 row)
+
+QUERY: SELECT /* both embedded and trailing single line */ 'both' AS third;
+third
+-----
+both 
+(1 row)
+
+QUERY:  
+SELECT 'before multi-line' AS fourth;
+fourth           
+-----------------
+before multi-line
+(1 row)
+
+QUERY: /* This is an example of SQL which should not execute:
+ * select 'multi-line';
+ */
+SELECT 'after multi-line' AS fifth;
+fifth           
+----------------
+after multi-line
+(1 row)
+