8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9ad88 commit 36b5484Copy full SHA for 36b5484
src/test/regress/sql/comments.sql
@@ -0,0 +1,16 @@
1
+--
2
+-- Comments
3
4
+
5
+SELECT 'trailing' AS first; -- trailing single line
6
+SELECT /* embedded single line */ 'embedded' AS second;
7
+SELECT /* both embedded and trailing single line */ 'both' AS third; -- trailing single line
8
9
+SELECT 'before multi-line' AS fourth;
10
+/* This is an example of SQL which should not execute:
11
+ * select 'multi-line';
12
+ */
13
+SELECT 'after multi-line' AS fifth;
14
15
+/* and this is the end of the file */
16
src/test/regress/sql/tests
@@ -27,6 +27,7 @@ reltime
27
abstime
28
tinterval
29
horology
30
+comments
31
create_function_1
32
create_type
33
create_table
0 commit comments