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
f5ef3d43
"...postgres-lambda-diff.git" did not exist on "196d6f4e35c77e3b937e32741f438c189b60cf0f"
Commit
f5ef3d43
authored
19 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Place function names in first column for consistency.
parent
4299a92d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/bin/psql/input.c
+11
-6
11 additions, 6 deletions
src/bin/psql/input.c
with
11 additions
and
6 deletions
src/bin/psql/input.c
+
11
−
6
View file @
f5ef3d43
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.
49
2006/02/13 1
4:57:15 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.
50
2006/02/13 1
7:09:25 momjian
Exp $
*/
*/
#include
"postgres_fe.h"
#include
"postgres_fe.h"
...
@@ -113,7 +113,8 @@ gets_interactive(const char *prompt)
...
@@ -113,7 +113,8 @@ gets_interactive(const char *prompt)
/* Put the line in the history buffer and also add the trailing \n */
/* Put the line in the history buffer and also add the trailing \n */
void
pgadd_history
(
char
*
s
,
PQExpBuffer
history_buf
)
void
pgadd_history
(
char
*
s
,
PQExpBuffer
history_buf
)
{
{
#ifdef USE_READLINE
#ifdef USE_READLINE
...
@@ -134,7 +135,8 @@ void pgadd_history(char *s, PQExpBuffer history_buf)
...
@@ -134,7 +135,8 @@ void pgadd_history(char *s, PQExpBuffer history_buf)
/* Feed the contents of the history buffer to readline */
/* Feed the contents of the history buffer to readline */
void
pgflush_history
(
PQExpBuffer
history_buf
)
void
pgflush_history
(
PQExpBuffer
history_buf
)
{
{
#ifdef USE_READLINE
#ifdef USE_READLINE
char
*
s
;
char
*
s
;
...
@@ -172,7 +174,8 @@ void pgflush_history(PQExpBuffer history_buf)
...
@@ -172,7 +174,8 @@ void pgflush_history(PQExpBuffer history_buf)
#endif
#endif
}
}
void
pgclear_history
(
PQExpBuffer
history_buf
)
void
pgclear_history
(
PQExpBuffer
history_buf
)
{
{
#ifdef USE_READLINE
#ifdef USE_READLINE
if
(
useReadline
&&
useHistory
)
if
(
useReadline
&&
useHistory
)
...
@@ -214,7 +217,8 @@ gets_fromFile(FILE *source)
...
@@ -214,7 +217,8 @@ gets_fromFile(FILE *source)
#ifdef USE_READLINE
#ifdef USE_READLINE
static
void
encode_history
(
void
)
static
void
encode_history
(
void
)
{
{
HIST_ENTRY
*
cur_hist
;
HIST_ENTRY
*
cur_hist
;
char
*
cur_ptr
;
char
*
cur_ptr
;
...
@@ -226,7 +230,8 @@ static void encode_history(void)
...
@@ -226,7 +230,8 @@ static void encode_history(void)
*
cur_ptr
=
NL_IN_HISTORY
;
*
cur_ptr
=
NL_IN_HISTORY
;
}
}
static
void
decode_history
(
void
)
static
void
decode_history
(
void
)
{
{
HIST_ENTRY
*
cur_hist
;
HIST_ENTRY
*
cur_hist
;
char
*
cur_ptr
;
char
*
cur_ptr
;
...
...
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