aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-03-04 12:56:05 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-03-04 12:56:05 +0200
commit24eebc65c26cfcc0ea5b8a95b61fa2fda6118e68 (patch)
treee49efcd9ccb469e9b8850b312bfa3fd497d308b8 /src/include
parent0dd094c4a0a4766cfb3c4932fa32af906229e3e3 (diff)
downloadpostgresql-24eebc65c26cfcc0ea5b8a95b61fa2fda6118e68.tar.gz
postgresql-24eebc65c26cfcc0ea5b8a95b61fa2fda6118e68.zip
Remove unused 'countincludesself' argument to pq_sendcountedtext()
It has been unused since we removed support for protocol version 2.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/pqformat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/libpq/pqformat.h b/src/include/libpq/pqformat.h
index a710bc18687..7f48cbded97 100644
--- a/src/include/libpq/pqformat.h
+++ b/src/include/libpq/pqformat.h
@@ -23,8 +23,7 @@ extern void pq_endmessage(StringInfo buf);
extern void pq_endmessage_reuse(StringInfo buf);
extern void pq_sendbytes(StringInfo buf, const void *data, int datalen);
-extern void pq_sendcountedtext(StringInfo buf, const char *str, int slen,
- bool countincludesself);
+extern void pq_sendcountedtext(StringInfo buf, const char *str, int slen);
extern void pq_sendtext(StringInfo buf, const char *str, int slen);
extern void pq_sendstring(StringInfo buf, const char *str);
extern void pq_send_ascii_string(StringInfo buf, const char *str);