postgresql/src/test/regress/expected/comments.out

38 lines
660 B
Plaintext
Raw Normal View History

--
-- COMMENTS
--
SELECT 'trailing' AS first; -- trailing single line
first
----------
trailing
(1 row)
SELECT /* embedded single line */ 'embedded' AS second;
second
----------
embedded
(1 row)
SELECT /* both embedded and trailing single line */ 'both' AS third; -- trailing single line
third
-------
both
(1 row)
SELECT 'before multi-line' AS fourth;
fourth
-------------------
before multi-line
(1 row)
/* 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)
/* and this is the end of the file */