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
fbe9d1a4
Commit
fbe9d1a4
authored
Oct 08, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for "--" comment and no trailing newline, as seen in Perl.
parent
ae61ef34
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/backend/parser/scan.l
src/backend/parser/scan.l
+2
-2
src/interfaces/perl5/test.pl
src/interfaces/perl5/test.pl
+2
-2
No files found.
src/backend/parser/scan.l
View file @
fbe9d1a4
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.5
7 1999/09/28 03:41:36
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.5
8 1999/10/08 05:03:13
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -167,7 +167,7 @@ real (((({digit}*\.{digit}+)|({digit}+\.{digit}*))([Ee][-+]?{digit}+)?)|({dig
param \${integer}
comment ("--"|"//").*
\n
comment ("--"|"//").*
space [ \t\n\f]
other .
...
...
src/interfaces/perl5/test.pl
View file @
fbe9d1a4
#!/usr/local/bin/perl -w
# $Id: test.pl,v 1.
9 1998/09/27 19:12:26 mergl
Exp $
# $Id: test.pl,v 1.
10 1999/10/08 05:03:14 momjian
Exp $
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
...
...
@@ -147,7 +147,7 @@ my $port = $conn->port;
######################### create and insert into table
$result
=
$conn
->
exec
("
CREATE TABLE person (id int4, name char(16))
");
$result
=
$conn
->
exec
("
CREATE TABLE person (id int4, name char(16))
-- test
");
die
$conn
->
errorMessage
unless
PGRES_COMMAND_OK
eq
$result
->
resultStatus
;
my
$cmd
=
$result
->
cmdStatus
;
(
"
CREATE
"
eq
$cmd
)
...
...
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