mirror of
https://github.com/postgres/postgres.git
synced 2025-12-13 14:22:43 +03:00
Moved psql \eset and \eshow to \encoding
Improved psql's Ctrl-C handling Fixed configure test for sigsetjmp that now even recognizes it if it's a macro
This commit is contained in:
@@ -3,11 +3,14 @@
|
||||
*
|
||||
* Copyright 2000 by PostgreSQL Global Development Group
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.6 2000/02/16 13:15:26 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.7 2000/02/20 14:28:20 petere Exp $
|
||||
*/
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
#include "postgres.h"
|
||||
#include <signal.h>
|
||||
#include "pqsignal.h"
|
||||
#include "libpq-fe.h"
|
||||
|
||||
char * xstrdup(const char *string);
|
||||
@@ -25,6 +28,9 @@ void NoticeProcessor(void * arg, const char * message);
|
||||
|
||||
char * simple_prompt(const char *prompt, int maxlen, bool echo);
|
||||
|
||||
extern volatile bool cancel_pressed;
|
||||
void handle_sigint(SIGNAL_ARGS);
|
||||
|
||||
PGresult * PSQLexec(const char *query);
|
||||
|
||||
bool SendQuery(const char *query);
|
||||
|
||||
Reference in New Issue
Block a user