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
f389e9df
Commit
f389e9df
authored
Jan 25, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change how readline support is included in psql.c ...
See message to hackers@ mailing list concerning this...
parent
6dbe1be6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
11 deletions
+21
-11
src/bin/psql/psql.c
src/bin/psql/psql.c
+10
-11
src/include/config.h
src/include/config.h
+11
-0
No files found.
src/bin/psql/psql.c
View file @
f389e9df
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.
49 1997/01/13 02:35:32 momjian
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.
50 1997/01/25 03:51:59 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -30,17 +30,16 @@
#include "strdup.h"
#endif
#if
def NO
READLINE
#include "rlstubs.h"
#if
ndef HAVE_LIB
READLINE
#
include "rlstubs.h"
#else
/* from the GNU readline library */
#ifdef OLD_READLINE
#include "readline.h"
#include "history.h"
#else
#include <readline/readline.h>
#include <readline/history.h>
#endif
# ifdef HAVE_READLINE_H
# include <readline.h>
# include <history.h>
# else
# include <readline/readline.h>
# include <readline/history.h>
# endif
#endif
#define PROMPT "=> "
...
...
src/include/config.h
View file @
f389e9df
...
...
@@ -8,6 +8,17 @@
#define BLCKSZ 8192
/* Define to enable readline/history support in psql */
/* #undef HAVE_LIBREADLINE */
/* These two defines are not used until HAVE_LIBREADLINE
* are also defined
*
* Define if <readline.h> vs <readline/readline.h>
*/
/* #undef HAVE_READLINE_H */
#define HAVE_SYS_SELECT_H
#define HAVE_TERMIOS_H
#define HAVE_VALUES_H
...
...
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