mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
OK, folks, here is the pgindent output.
This commit is contained in:
@ -1,43 +1,46 @@
|
||||
#include <c.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void ECPGdebug(int, FILE *);
|
||||
bool ECPGsetconn(int, const char *);
|
||||
bool ECPGconnect(int, const char *, const char *, const char *, const char *);
|
||||
bool ECPGdo(int, char *,...);
|
||||
bool ECPGtrans(int, const char *);
|
||||
bool ECPGdisconnect(int, const char *);
|
||||
void ECPGdebug(int, FILE *);
|
||||
bool ECPGsetconn(int, const char *);
|
||||
bool ECPGconnect(int, const char *, const char *, const char *, const char *);
|
||||
bool ECPGdo(int, char *,...);
|
||||
bool ECPGtrans(int, const char *);
|
||||
bool ECPGdisconnect(int, const char *);
|
||||
|
||||
void ECPGlog(const char *format,...);
|
||||
void ECPGlog(const char *format,...);
|
||||
|
||||
#ifdef LIBPQ_FE_H
|
||||
bool ECPGsetdb(PGconn *);
|
||||
bool ECPGsetdb(PGconn *);
|
||||
|
||||
#endif
|
||||
|
||||
/* Here are some methods used by the lib. */
|
||||
/* Returns a pointer to a string containing a simple type name. */
|
||||
const char *ECPGtype_name(enum ECPGttype);
|
||||
const char *ECPGtype_name(enum ECPGttype);
|
||||
|
||||
/* A generic varchar type. */
|
||||
struct ECPGgeneric_varchar
|
||||
{
|
||||
int len;
|
||||
char arr[1];
|
||||
};
|
||||
struct ECPGgeneric_varchar
|
||||
{
|
||||
int len;
|
||||
char arr[1];
|
||||
};
|
||||
|
||||
/* print an error message */
|
||||
void sqlprint(void);
|
||||
void sqlprint(void);
|
||||
|
||||
struct cursor { const char *name;
|
||||
char *command;
|
||||
struct cursor
|
||||
{
|
||||
const char *name;
|
||||
char *command;
|
||||
struct cursor *next;
|
||||
};
|
||||
};
|
||||
|
||||
extern int no_auto_trans;
|
||||
extern int no_auto_trans;
|
||||
|
||||
/* define this for simplicity as well as compatibility */
|
||||
|
||||
@ -45,6 +48,7 @@ extern int no_auto_trans;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#include <ecpgerrno.h>
|
||||
|
Reference in New Issue
Block a user