2 * psql - the PostgreSQL interactive terminal
4 * Copyright 2000 by PostgreSQL Global Development Team
6 * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.4 2000/01/18 23:30:23 petere Exp $
14 char * xstrdup(const char *string);
16 bool setQFout(const char *fname);
19 void psql_error(const char *fmt, ...);
21 /* This checks the format string for consistency. */
22 void psql_error(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
25 void NoticeProcessor(void * arg, const char * message);
27 char * simple_prompt(const char *prompt, int maxlen, bool echo);
29 PGresult * PSQLexec(const char *query);
31 bool SendQuery(const char *query);