mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-13 11:38:05 +02:00
d83105539a
Include a few new tests for datetime/timespan arithmetic.
38 lines
660 B
Plaintext
38 lines
660 B
Plaintext
--
|
|
-- 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 */
|