1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-12 02:37:31 +03:00

Added configure test for readline's filename_completion_function

Completed psql's \? help
This commit is contained in:
Peter Eisentraut
2000-03-05 13:30:20 +00:00
parent 3c71ed7e72
commit 8de482a847
9 changed files with 51 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.18 2000/03/01 21:09:58 petere Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.19 2000/03/05 13:30:19 petere Exp $
*/
#include "postgres.h"
#include "common.h"
@@ -247,6 +247,8 @@ simple_prompt(const char *prompt, int maxlen, bool echo)
PGconn *cancelConn;
volatile bool cancel_pressed;
#ifndef WIN32
#define write_stderr(String) write(fileno(stderr), String, strlen(String))
void
@@ -269,7 +271,7 @@ handle_sigint(SIGNAL_ARGS)
write_stderr(PQerrorMessage(cancelConn));
}
}
#endif /* not WIN32 */
/*