diff options
Diffstat (limited to 'src/include/libpq/pqformat.h')
-rw-r--r-- | src/include/libpq/pqformat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/libpq/pqformat.h b/src/include/libpq/pqformat.h index bbeff288c4f..2102960e884 100644 --- a/src/include/libpq/pqformat.h +++ b/src/include/libpq/pqformat.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pqformat.h,v 1.17 2003/05/09 15:44:42 tgl Exp $ + * $Id: pqformat.h,v 1.18 2003/05/09 21:19:50 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -24,6 +24,8 @@ extern void pq_sendtext(StringInfo buf, const char *str, int slen); extern void pq_sendstring(StringInfo buf, const char *str); extern void pq_sendint(StringInfo buf, int i, int b); extern void pq_sendint64(StringInfo buf, int64 i); +extern void pq_sendfloat4(StringInfo buf, float4 f); +extern void pq_sendfloat8(StringInfo buf, float8 f); extern void pq_endmessage(StringInfo buf); extern void pq_begintypsend(StringInfo buf); @@ -35,6 +37,8 @@ extern void pq_putemptymessage(char msgtype); extern int pq_getmsgbyte(StringInfo msg); extern unsigned int pq_getmsgint(StringInfo msg, int b); extern int64 pq_getmsgint64(StringInfo msg); +extern float4 pq_getmsgfloat4(StringInfo msg); +extern float8 pq_getmsgfloat8(StringInfo msg); extern const char *pq_getmsgbytes(StringInfo msg, int datalen); extern void pq_copymsgbytes(StringInfo msg, char *buf, int datalen); extern char *pq_getmsgtext(StringInfo msg, int rawbytes, int *nbytes); |