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
f766b376
Commit
f766b376
authored
21 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Add fflush of stdout when outputing query.
parent
82bade79
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/TODO
+2
-2
2 additions, 2 deletions
doc/TODO
src/bin/psql/common.c
+5
-2
5 additions, 2 deletions
src/bin/psql/common.c
with
7 additions
and
4 deletions
doc/TODO
+
2
−
2
View file @
f766b376
TODO list for PostgreSQL
TODO list for PostgreSQL
========================
========================
Last updated:
Wed
Jul 3
0 16:23:29
EDT 2003
Last updated:
Thu
Jul 3
1 00:20:01
EDT 2003
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
@@ -474,7 +474,7 @@ Source Code
...
@@ -474,7 +474,7 @@ Source Code
* Acquire lock on a relation before building a relcache entry for it
* Acquire lock on a relation before building a relcache entry for it
* Research interaction of setitimer() and sleep() used by statement_timeout
* Research interaction of setitimer() and sleep() used by statement_timeout
* Add checks for fclose() failure
* Add checks for fclose() failure
* Change CVS $Id: TODO,v 1.110
0
2003/07/3
0 20
:23:
32
momjian Exp $ to $PostgreSQL: pgsql/doc/TODO,v 1.110
0
2003/07/3
0 20
:23:
32
momjian Exp $
* Change CVS $Id: TODO,v 1.110
1
2003/07/3
1 04
:23:
40
momjian Exp $ to $PostgreSQL: pgsql/doc/TODO,v 1.110
1
2003/07/3
1 04
:23:
40
momjian Exp $
* Exit postmaster if postgresql.conf can not be opened
* Exit postmaster if postgresql.conf can not be opened
* Rename /scripts directory because they are all C programs now
* Rename /scripts directory because they are all C programs now
* Allow the regression tests to start postmaster with -i so the tests
* Allow the regression tests to start postmaster with -i so the tests
...
...
This diff is collapsed.
Click to expand it.
src/bin/psql/common.c
+
5
−
2
View file @
f766b376
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.6
6
2003/07/
23 08:47:39 petere
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.6
7
2003/07/
31 04:23:40 momjian
Exp $
*/
*/
#include
"postgres_fe.h"
#include
"postgres_fe.h"
#include
"common.h"
#include
"common.h"
...
@@ -595,8 +595,11 @@ SendQuery(const char *query)
...
@@ -595,8 +595,11 @@ SendQuery(const char *query)
return
false
;
return
false
;
}
}
else
if
(
VariableEquals
(
pset
.
vars
,
"ECHO"
,
"queries"
))
else
if
(
VariableEquals
(
pset
.
vars
,
"ECHO"
,
"queries"
))
{
puts
(
query
);
puts
(
query
);
fflush
(
stdout
);
}
SetCancelConn
();
SetCancelConn
();
if
(
PQtransactionStatus
(
pset
.
db
)
==
PQTRANS_IDLE
&&
if
(
PQtransactionStatus
(
pset
.
db
)
==
PQTRANS_IDLE
&&
...
...
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