aboutsummaryrefslogtreecommitdiff
path: root/src/test/regress/sql/comments.sql
blob: 527988f4a5eabb95973128cf2aae932be2ce3c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--
-- COMMENTS
--

SELECT 'trailing' AS first; -- trailing single line
SELECT /* embedded single line */ 'embedded' AS second;
SELECT /* both embedded and trailing single line */ 'both' AS third; -- trailing single line

SELECT 'before multi-line' AS fourth;
/* This is an example of SQL which should not execute:
 * select 'multi-line';
 */
SELECT 'after multi-line' AS fifth;

/* and this is the end of the file */