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
9d8d6471
Commit
9d8d6471
authored
Sep 03, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patch cleanups.
parent
fcecc5ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/bin/psql/psql.c
src/bin/psql/psql.c
+2
-2
src/interfaces/libpgtcl/pgtclCmds.c
src/interfaces/libpgtcl/pgtclCmds.c
+3
-3
No files found.
src/bin/psql/psql.c
View file @
9d8d6471
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.1
59 1998/09/03 02:10:38
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.1
60 1998/09/03 05:08:25
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -149,7 +149,7 @@ struct winsize
...
@@ -149,7 +149,7 @@ struct winsize
static
void
usage
(
char
*
progname
);
static
void
usage
(
char
*
progname
);
static
void
slashUsage
();
static
void
slashUsage
();
static
bool
handleCopyOut
(
PGconn
*
conn
,
FILE
*
copystream
);
static
bool
handleCopyOut
(
PGconn
*
conn
,
FILE
*
copystream
);
static
bool
handleCopyIn
(
PG
result
*
res
,
const
bool
mustprompt
,
static
bool
handleCopyIn
(
PG
conn
*
conn
,
const
bool
mustprompt
,
FILE
*
copystream
);
FILE
*
copystream
);
static
int
tableList
(
PsqlSettings
*
pset
,
bool
deep_tablelist
,
static
int
tableList
(
PsqlSettings
*
pset
,
bool
deep_tablelist
,
char
info_type
,
bool
system_tables
);
char
info_type
,
bool
system_tables
);
...
...
src/interfaces/libpgtcl/pgtclCmds.c
View file @
9d8d6471
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.3
2 1998/09/03 02:10:42
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.3
3 1998/09/03 05:08:28
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -358,7 +358,7 @@ Pg_connect(ClientData cData, Tcl_Interp * interp, int argc, char *argv[])
...
@@ -358,7 +358,7 @@ Pg_connect(ClientData cData, Tcl_Interp * interp, int argc, char *argv[])
conn
=
PQsetdb
(
pghost
,
pgport
,
pgoptions
,
pgtty
,
dbName
);
conn
=
PQsetdb
(
pghost
,
pgport
,
pgoptions
,
pgtty
,
dbName
);
}
}
if
(
PQstatus
(
conn
)
==
CONNECTION_OK
)
{
if
(
PQstatus
(
conn
)
==
CONNECTION_OK
)
{
{
PgSetConnectionId
(
interp
,
conn
);
PgSetConnectionId
(
interp
,
conn
);
return
TCL_OK
;
return
TCL_OK
;
...
@@ -1413,7 +1413,7 @@ Pg_listen(ClientData cData, Tcl_Interp * interp, int argc, char *argv[])
...
@@ -1413,7 +1413,7 @@ Pg_listen(ClientData cData, Tcl_Interp * interp, int argc, char *argv[])
ckfree
(
cmd
);
ckfree
(
cmd
);
/* Transfer any notify events from libpq to Tcl event queue. */
/* Transfer any notify events from libpq to Tcl event queue. */
PgNotifyTransferEvents
(
connid
);
PgNotifyTransferEvents
(
connid
);
if
(
PQresultStatus
(
result
)
!=
PGRES_COMMAND_OK
)
{
if
(
PQresultStatus
(
result
)
!=
PGRES_COMMAND_OK
)
{
{
/* Error occurred during the execution of command */
/* Error occurred during the execution of command */
PQclear
(
result
);
PQclear
(
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