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
42a34468
Commit
42a34468
authored
Nov 11, 1996
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove warnings when readline is not used.
parent
13d44b4a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
6 deletions
+28
-6
src/bin/psql/psql.c
src/bin/psql/psql.c
+2
-2
src/bin/psql/rlstubs.c
src/bin/psql/rlstubs.c
+6
-4
src/bin/psql/rlstubs.h
src/bin/psql/rlstubs.h
+20
-0
No files found.
src/bin/psql/psql.c
View file @
42a34468
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.2
7 1996/11/10 03:04:12
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.2
8 1996/11/11 05:55:30
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -26,7 +26,7 @@
#include "psqlHelp.h"
#ifdef NOREADLINE
extern
char
*
readline
(
char
*
);
/* in rlstubs.c */
#include "rlstubs.h"
#else
/* from the GNU readline library */
#ifdef OLD_READLINE
...
...
src/bin/psql/rlstubs.c
View file @
42a34468
...
...
@@ -7,12 +7,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.
2 1996/07/30 07:47:58 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.
3 1996/11/11 05:55:32 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h>
#include "rlstubs.h"
char
*
readline
(
char
*
prompt
)
{
...
...
@@ -23,19 +25,19 @@ readline(char *prompt)
}
int
write_history
()
write_history
(
char
*
dum
)
{
return
0
;
}
int
using_history
()
using_history
(
void
)
{
return
0
;
}
int
add_history
()
add_history
(
char
*
dum
)
{
return
0
;
}
src/bin/psql/rlstubs.h
0 → 100644
View file @
42a34468
/*-------------------------------------------------------------------------
*
* rlstubs.h
* stub routines when compiled without readline and history libraries
*
* Copyright (c) 1994-5, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.1 1996/11/11 05:55:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
extern
char
*
readline
(
char
*
prompt
);
extern
int
write_history
(
char
*
dum
);
extern
int
using_history
(
void
);
extern
int
add_history
(
char
*
dum
);
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