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
435d4f4a
Commit
435d4f4a
authored
Nov 18, 1996
by
Bryan Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quiet compiler warnings, ignore the ones we can't.
parent
e780f0fe
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
13 deletions
+10
-13
src/interfaces/libpq++/examples/Makefile
src/interfaces/libpq++/examples/Makefile
+5
-1
src/interfaces/libpq++/examples/testlibpq0.cc
src/interfaces/libpq++/examples/testlibpq0.cc
+3
-3
src/interfaces/libpq++/examples/testlibpq2.cc
src/interfaces/libpq++/examples/testlibpq2.cc
+0
-2
src/interfaces/libpq++/examples/testlibpq3.cc
src/interfaces/libpq++/examples/testlibpq3.cc
+1
-2
src/interfaces/libpq++/examples/testlibpq4.cc
src/interfaces/libpq++/examples/testlibpq4.cc
+0
-3
src/interfaces/libpq++/examples/testlo.cc
src/interfaces/libpq++/examples/testlo.cc
+1
-2
No files found.
src/interfaces/libpq++/examples/Makefile
View file @
435d4f4a
...
...
@@ -5,7 +5,11 @@
SRCDIR
=
../..
include
../../Makefile.global
CXXFLAGS
=
$(CFLAGS)
# We have to override -Werror, which makes warnings, fatal, because we
# inevitably get the warning, "abstract declarator used as declaration"
# because of our inclusion of c.h and we don't know how to stop that.
CXXFLAGS
=
$(CFLAGS)
-Wno-error
INCLUDE_OPT
=
\
-I
..
\
...
...
src/interfaces/libpq++/examples/testlibpq0.cc
View file @
435d4f4a
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlibpq0.cc,v 1.
1.1.1 1996/07/09 06:22:18 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlibpq0.cc,v 1.
2 1996/11/18 01:44:23 bryanh
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -18,7 +18,7 @@
#include "libpq++.H"
int
main
(
int
argc
,
char
**
argv
)
main
()
{
ExecStatusType
status
;
PGenv
env
;
...
...
@@ -41,7 +41,7 @@ main(int argc, char** argv)
if
((
status
=
data
->
exec
(
buf
))
==
PGRES_TUPLES_OK
)
data
->
printtuples
(
stdout
,
1
,
"|"
,
1
,
0
);
else
printf
(
"status = %
s
\n
errorMessage = %s
\n
"
,
status
,
printf
(
"status = %
d
\n
errorMessage = %s
\n
"
,
status
,
data
->
errormessage
());
else
done
=
1
;
...
...
src/interfaces/libpq++/examples/testlibpq2.cc
View file @
435d4f4a
...
...
@@ -24,8 +24,6 @@ INSERT INTO TBL1 values (10);
main
()
{
char
*
dbName
;
int
nFields
;
int
i
,
j
;
/* begin, by creating the parameter environtment for a backend
connection. When no parameters are given then the system will
...
...
src/interfaces/libpq++/examples/testlibpq3.cc
View file @
435d4f4a
...
...
@@ -35,9 +35,8 @@ extern "C" {
main
()
{
char
*
dbName
;
int
nFields
;
int
i
,
j
;
int
i_fnum
,
d_fnum
,
p_fnum
;
int
i
;
/* begin, by creating the parameter environtment for a backend
connection. When no parameters are given then the system will
...
...
src/interfaces/libpq++/examples/testlibpq4.cc
View file @
435d4f4a
...
...
@@ -7,12 +7,9 @@
#include <stdio.h>
#include "libpq++.H"
#define DEBUG printf("Got here %d\n", __LINE__);
main
()
{
char
*
dbName
;
int
nFields
;
int
i
,
j
;
/* begin, by creating the parameter environment for a backend
connection. When no parameters are given then the system will
...
...
src/interfaces/libpq++/examples/testlo.cc
View file @
435d4f4a
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlo.cc,v 1.
1.1.1 1996/07/09 06:22:19 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlo.cc,v 1.
2 1996/11/18 01:44:28 bryanh
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -22,7 +22,6 @@ main(int argc, char **argv)
{
char
*
in_filename
,
*
out_filename
;
char
*
database
;
Oid
lobjOid
;
PGenv
env
;
PGlobj
*
object
;
...
...
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