common.h
来自「PostgreSQL7.4.6 for Linux」· C头文件 代码 · 共 55 行
H
55 行
/* * psql - the PostgreSQL interactive terminal * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.29 2003/09/03 22:05:09 petere Exp $ */#ifndef COMMON_H#define COMMON_H#include "postgres_fe.h"#include <signal.h>#include "pqsignal.h"#include "libpq-fe.h"extern char *xstrdup(const char *string);extern bool setQFout(const char *fname);extern voidpsql_error(const char *fmt,...)/* This lets gcc check the format string for consistency. */__attribute__((format(printf, 1, 2)));extern void NoticeProcessor(void *arg, const char *message);extern volatile bool cancel_pressed;extern void ResetCancelConn(void);#ifndef WIN32extern void handle_sigint(SIGNAL_ARGS);#endif /* not WIN32 */extern PGresult *PSQLexec(const char *query, bool start_xact);extern bool SendQuery(const char *query);extern bool is_superuser(void);extern const char *session_username(void);/* Parse a numeric character code from the string pointed at by *buf, e.g. * one written as 0x0c (hexadecimal) or 015 (octal); advance *buf to the last * character of the numeric character code. */extern char parse_char(char **buf);/* Used for all Win32 popen/pclose calls */#ifdef WIN32#define popen(x,y) _popen(x,y)#define pclose(x) _pclose(x)#endif#endif /* COMMON_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?