1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Fix bug: libpq clients (which include libpq-fe.h) won't compile.

This commit is contained in:
Bryan Henderson
1996-12-10 07:05:12 +00:00
parent 2697c27923
commit 7f36a2a718
2 changed files with 16 additions and 19 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: libpq-fe.h,v 1.14 1996/12/04 03:06:33 bryanh Exp $
* $Id: libpq-fe.h,v 1.15 1996/12/10 07:05:12 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@@ -23,7 +23,7 @@ extern "C" {
* include stuff common to fe and be
* ----------------
*/
/* #include "libpq/libpq.h" */
#include "postgres_ext.h"
#include "libpq/pqcomm.h"
#include "lib/dllist.h"
@@ -76,7 +76,7 @@ typedef struct {
typedef struct pgresAttDesc {
char* name; /* type name */
Oid adtid; /* type id */
int2 adtsize; /* type size */
short adtsize; /* type size */
} PGresAttDesc;
/* use char* for Attribute values,
@@ -214,7 +214,7 @@ extern int PQnfields(PGresult *res);
extern char* PQfname(PGresult *res, int field_num);
extern int PQfnumber(PGresult *res, const char* field_name);
extern Oid PQftype(PGresult *res, int field_num);
extern int2 PQfsize(PGresult *res, int field_num);
extern short PQfsize(PGresult *res, int field_num);
extern char* PQcmdStatus(PGresult *res);
extern const char* PQoidStatus(PGresult *res);
extern char* PQgetvalue(PGresult *res, int tup_num, int field_num);