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
c6662551
Commit
c6662551
authored
Jun 25, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo changes in tests/ examples.
parent
c05a7bd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/interfaces/libpq++/examples/testlibpq5.cc
src/interfaces/libpq++/examples/testlibpq5.cc
+2
-2
src/tutorial/basics.source
src/tutorial/basics.source
+4
-4
No files found.
src/interfaces/libpq++/examples/testlibpq5.cc
View file @
c6662551
...
@@ -93,8 +93,8 @@ main()
...
@@ -93,8 +93,8 @@ main()
<<
" i = ("
<<
data
.
GetLength
(
i
,
i_fnum
)
<<
" bytes) "
<<
*
ival
<<
","
<<
endl
<<
" i = ("
<<
data
.
GetLength
(
i
,
i_fnum
)
<<
" bytes) "
<<
*
ival
<<
","
<<
endl
<<
" d = ("
<<
data
.
GetLength
(
i
,
d_fnum
)
<<
" bytes) "
<<
*
dval
<<
","
<<
endl
<<
" d = ("
<<
data
.
GetLength
(
i
,
d_fnum
)
<<
" bytes) "
<<
*
dval
<<
","
<<
endl
<<
" p = ("
<<
data
.
GetLength
(
i
,
d_fnum
)
<<
" bytes) "
<<
pval
->
npts
<<
" points"
<<
" p = ("
<<
data
.
GetLength
(
i
,
d_fnum
)
<<
" bytes) "
<<
pval
->
npts
<<
" points"
<<
"
\t
boundbox = (hi="
<<
pval
->
boundbox
.
xh
<<
"/"
<<
pval
->
boundbox
.
yh
<<
","
<<
"
\t
boundbox = (hi="
<<
pval
->
boundbox
.
high
.
x
<<
"/"
<<
pval
->
boundbox
.
high
.
y
<<
","
<<
"lo = "
<<
pval
->
boundbox
.
xl
<<
","
<<
pval
->
boundbox
.
yl
<<
")"
<<
endl
;
<<
"lo = "
<<
pval
->
boundbox
.
low
.
x
<<
","
<<
pval
->
boundbox
.
low
.
y
<<
")"
<<
endl
;
// Deallocate memory allocated for the Polygon structure
// Deallocate memory allocated for the Polygon structure
free
(
pval
);
free
(
pval
);
...
...
src/tutorial/basics.source
View file @
c6662551
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
--
--
-- Copyright (c) 1994, Andrew Yu, University of California
-- Copyright (c) 1994, Andrew Yu, University of California
--
--
-- $Id: basics.source,v 1.
1.1.1 1996/07/09 06:22:34 scrappy
Exp $
-- $Id: basics.source,v 1.
2 1997/06/25 19:59:57 momjian
Exp $
--
--
---------------------------------------------------------------------------
---------------------------------------------------------------------------
...
@@ -23,7 +23,7 @@ CREATE TABLE weather (
...
@@ -23,7 +23,7 @@ CREATE TABLE weather (
temp_hi int, -- high temperature
temp_hi int, -- high temperature
prcp float8, -- precipitation
prcp float8, -- precipitation
date date
date date
)
)
;
CREATE TABLE cities (
CREATE TABLE cities (
name varchar(80),
name varchar(80),
...
@@ -40,7 +40,7 @@ CREATE TABLE cities (
...
@@ -40,7 +40,7 @@ CREATE TABLE cities (
-- the columns specified in CREATE TABLE.
-- the columns specified in CREATE TABLE.
INSERT INTO weather
INSERT INTO weather
VALUES ('San Francisco', 46, 50, 0.25, '11/27/1994')
VALUES ('San Francisco', 46, 50, 0.25, '11/27/1994')
;
INSERT INTO cities
INSERT INTO cities
VALUES ('San Francisco', '(-194.0, 53.0)');
VALUES ('San Francisco', '(-194.0, 53.0)');
...
@@ -50,7 +50,7 @@ INSERT INTO cities
...
@@ -50,7 +50,7 @@ INSERT INTO cities
-- eg. unknown precipitation below)
-- eg. unknown precipitation below)
INSERT INTO weather (city, temp_lo, temp_hi, prcp, date)
INSERT INTO weather (city, temp_lo, temp_hi, prcp, date)
VALUES ('San Francisco', 43, 57, 0.0, '11/29/1994')
VALUES ('San Francisco', 43, 57, 0.0, '11/29/1994')
;
INSERT INTO weather (date, city, temp_hi, temp_lo)
INSERT INTO weather (date, city, temp_hi, temp_lo)
VALUES ('11/29/1994', 'Hayward', 54, 37);
VALUES ('11/29/1994', 'Hayward', 54, 37);
...
...
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