Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
36b54847
Commit
36b54847
authored
Sep 18, 1997
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add explicit test for various comment syntaxes.
parent
1d9ad887
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
src/test/regress/sql/comments.sql
src/test/regress/sql/comments.sql
+16
-0
src/test/regress/sql/tests
src/test/regress/sql/tests
+1
-0
No files found.
src/test/regress/sql/comments.sql
0 → 100644
View file @
36b54847
--
-- 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 */
src/test/regress/sql/tests
View file @
36b54847
...
...
@@ -27,6 +27,7 @@ reltime
abstime
tinterval
horology
comments
create_function_1
create_type
create_table
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment