pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Christoph Berg <myon@debian.org>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: [patch] Duplicated pq_sendfloat4/8 prototypes
Date: Tue, 14 Aug 2018 18:55:37 +0200
Message-ID: <20180814165536.GB21152@msg.df7cb.de> (raw )
The pq_sendfloat4 and 8 prototypes are duplicated.
Christoph
diff --git a/src/include/libpq/pqformat.h b/src/include/libpq/pqformat.h
index 6acb2e8de0..f0337325bb 100644
--- a/src/include/libpq/pqformat.h
+++ b/src/include/libpq/pqformat.h
@@ -31,9 +31,6 @@ extern void pq_send_ascii_string(StringInfo buf, const char *str);
extern void pq_sendfloat4(StringInfo buf, float4 f);
extern void pq_sendfloat8(StringInfo buf, float8 f);
-extern void pq_sendfloat4(StringInfo buf, float4 f);
-extern void pq_sendfloat8(StringInfo buf, float8 f);
-
/*
* Append a [u]int8 to a StringInfo buffer, which already has enough space
* preallocated.
Attachments:
pq_sendfloat_duplicates (text/plain, 581B) download
diff --git a/src/include/libpq/pqformat.h b/src/include/libpq/pqformat.h
index 6acb2e8de0..f0337325bb 100644
--- a/src/include/libpq/pqformat.h
+++ b/src/include/libpq/pqformat.h
@@ -31,9 +31,6 @@ extern void pq_send_ascii_string(StringInfo buf, const char *str);
extern void pq_sendfloat4(StringInfo buf, float4 f);
extern void pq_sendfloat8(StringInfo buf, float8 f);
-extern void pq_sendfloat4(StringInfo buf, float4 f);
-extern void pq_sendfloat8(StringInfo buf, float8 f);
-
/*
* Append a [u]int8 to a StringInfo buffer, which already has enough space
* preallocated.
view thread (2+ messages) latest in thread
Message-ID: <20180814165536.GB21152@msg.df7cb.de>
Permalink: ../20180814165536.GB21152@msg.df7cb.de/
Also on: postgresql.org/message-id/20180814165536.GB21152@msg.df7cb.de
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: myon@debian.org
Subject: Re: [patch] Duplicated pq_sendfloat4/8 prototypes
In-Reply-To: <20180814165536.GB21152@msg.df7cb.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox