Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
fbe9d1a4
Commit
fbe9d1a4
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Fix for "--" comment and no trailing newline, as seen in Perl.
parent
ae61ef34
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/parser/scan.l
+2
-2
2 additions, 2 deletions
src/backend/parser/scan.l
src/interfaces/perl5/test.pl
+2
-2
2 additions, 2 deletions
src/interfaces/perl5/test.pl
with
4 additions
and
4 deletions
src/backend/parser/scan.l
+
2
−
2
View file @
fbe9d1a4
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* 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
...
@@ -167,7 +167,7 @@ real (((({digit}*\.{digit}+)|({digit}+\.{digit}*))([Ee][-+]?{digit}+)?)|({dig
param \${integer}
param \${integer}
comment ("--"|"//").*
\n
comment ("--"|"//").*
space [ \t\n\f]
space [ \t\n\f]
other .
other .
...
...
This diff is collapsed.
Click to expand it.
src/interfaces/perl5/test.pl
+
2
−
2
View file @
fbe9d1a4
#!/usr/local/bin/perl -w
#!/usr/local/bin/perl -w
# $Id: test.pl,v 1.
9
199
8/09/27 19:12:26 mergl
Exp $
# $Id: test.pl,v 1.
10
199
9/10/08 05:03:14 momjian
Exp $
# Before `make install' is performed this script should be runnable with
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
# `make test'. After `make install' it should work as `perl test.pl'
...
@@ -147,7 +147,7 @@ my $port = $conn->port;
...
@@ -147,7 +147,7 @@ my $port = $conn->port;
######################### create and insert into table
######################### 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
;
die
$conn
->
errorMessage
unless
PGRES_COMMAND_OK
eq
$result
->
resultStatus
;
my
$cmd
=
$result
->
cmdStatus
;
my
$cmd
=
$result
->
cmdStatus
;
(
"
CREATE
"
eq
$cmd
)
(
"
CREATE
"
eq
$cmd
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment