pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[patch] Duplicated pq_sendfloat4/8 prototypes
2+ messages / 2 participants
[nested] [flat]

* [patch] Duplicated pq_sendfloat4/8 prototypes
@ 2018-08-14 16:55  Christoph Berg <myon@debian.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Christoph Berg @ 2018-08-14 16:55 UTC (permalink / raw)
  To: pgsql-hackers

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.
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: [patch] Duplicated pq_sendfloat4/8 prototypes
@ 2018-08-14 18:26  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Christoph Berg <myon@debian.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-08-14 18:26 UTC (permalink / raw)
  To: Christoph Berg <myon@debian.org>; +Cc: pgsql-hackers

Christoph Berg <myon@debian.org> writes:
> The pq_sendfloat4 and 8 prototypes are duplicated.

Yup.  Pushed, thanks!

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-08-14 18:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-14 16:55 [patch] Duplicated pq_sendfloat4/8 prototypes Christoph Berg <myon@debian.org>
2018-08-14 18:26 ` Tom Lane <tgl@sss.pgh.pa.us>

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