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
d1724d65
Commit
d1724d65
authored
Jul 23, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reversed julian's patch back in again...othere things cause monitor
to not compile now...
parent
7344d698
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
src/bin/monitor/monitor.c
src/bin/monitor/monitor.c
+12
-4
No files found.
src/bin/monitor/monitor.c
View file @
d1724d65
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/monitor/Attic/monitor.c,v 1.
3 1996/07/22 05:59:53
scrappy Exp $
* $Header: /cvsroot/pgsql/src/bin/monitor/Attic/monitor.c,v 1.
4 1996/07/23 02:26:41
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -642,6 +642,7 @@ handle_execution(char *query)
...
@@ -642,6 +642,7 @@ handle_execution(char *query)
{
{
PGresult
*
result
;
PGresult
*
result
;
int
retval
=
0
;
int
retval
=
0
;
PQprintOpt
opt
;
result
=
PQexec
(
conn
,
query
);
result
=
PQexec
(
conn
,
query
);
...
@@ -657,10 +658,17 @@ handle_execution(char *query)
...
@@ -657,10 +658,17 @@ handle_execution(char *query)
break
;
break
;
case
PGRES_TUPLES_OK
:
case
PGRES_TUPLES_OK
:
/* PQprintTuples(result,stdout,PrintAttNames,TerseOutput,COLWIDTH); */
/* PQprintTuples(result,stdout,PrintAttNames,TerseOutput,COLWIDTH); */
if
(
TerseOutput
)
/*
if (TerseOutput)
PQdisplayTuples(result,stdout,1,"",PrintAttNames,TerseOutput);
PQdisplayTuples(result,stdout,1,"",PrintAttNames,TerseOutput);
else
else
PQdisplayTuples
(
result
,
stdout
,
1
,
"|"
,
PrintAttNames
,
TerseOutput
);
PQdisplayTuples(result,stdout,1,"|",PrintAttNames,TerseOutput); */
memset
(
&
opt
,
0
,
sizeof
opt
);
opt
.
header
=
opt
.
align
=
opt
.
standard
=
1
;
if
(
TerseOutput
)
opt
.
fieldSep
=
""
;
else
opt
.
fieldSep
=
"|"
;
PQprint
(
stdout
,
result
,
&
opt
);
break
;
break
;
case
PGRES_COPY_OUT
:
case
PGRES_COPY_OUT
:
handle_copy_out
(
result
);
handle_copy_out
(
result
);
...
...
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