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
562f63b0
Commit
562f63b0
authored
Feb 13, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build failure when not USE_READLINE. Sergey E. Koposov
parent
589b67d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/bin/psql/input.c
src/bin/psql/input.c
+5
-5
No files found.
src/bin/psql/input.c
View file @
562f63b0
...
...
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.4
8 2006/02/12 05:24:38 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.4
9 2006/02/13 14:57:15 tgl
Exp $
*/
#include "postgres_fe.h"
...
...
@@ -213,7 +213,8 @@ gets_fromFile(FILE *source)
}
static
void
encode_history
()
#ifdef USE_READLINE
static
void
encode_history
(
void
)
{
HIST_ENTRY
*
cur_hist
;
char
*
cur_ptr
;
...
...
@@ -225,7 +226,7 @@ static void encode_history()
*
cur_ptr
=
NL_IN_HISTORY
;
}
static
void
decode_history
()
static
void
decode_history
(
void
)
{
HIST_ENTRY
*
cur_hist
;
char
*
cur_ptr
;
...
...
@@ -236,6 +237,7 @@ static void decode_history()
if
(
*
cur_ptr
==
NL_IN_HISTORY
)
*
cur_ptr
=
'\n'
;
}
#endif
/* USE_READLINE */
/*
...
...
@@ -290,7 +292,6 @@ initializeInput(int flags)
}
bool
saveHistory
(
char
*
fname
)
{
...
...
@@ -311,7 +312,6 @@ saveHistory(char *fname)
}
static
void
#ifdef HAVE_ATEXIT
finishInput
(
void
)
...
...
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