postgresql/src/include
Heikki Linnakangas 3174d69fb9 Remove server and libpq support for old FE/BE protocol version 2.
Protocol version 3 was introduced in PostgreSQL 7.4. There shouldn't be
many clients or servers left out there without version 3 support. But as
a courtesy, I kept just enough of the old protocol support that we can
still send the "unsupported protocol version" error in v2 format, so that
old clients can display the message properly. Likewise, libpq still
understands v2 ErrorResponse messages when establishing a connection.

The impetus to do this now is that I'm working on a patch to COPY
FROM, to always prefetch some data. We cannot do that safely with the
old protocol, because it requires parsing the input one byte at a time
to detect the end-of-copy marker.

Reviewed-by: Tom Lane, Alvaro Herrera, John Naylor
Discussion: https://www.postgresql.org/message-id/9ec25819-0a8a-d51a-17dc-4150bb3cca3b%40iki.fi
2021-03-04 10:45:55 +02:00
..
access Add TID Range Scans to support efficient scanning ranges of TIDs 2021-02-27 22:59:36 +13:00
bootstrap Update copyright for 2021 2021-01-02 13:06:25 -05:00
catalog Add trim_array() function. 2021-03-03 16:39:57 -05:00
commands Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
common Improve reporting for syntax errors in multi-line JSON data. 2021-03-01 16:44:17 -05:00
datatype Update copyright for 2021 2021-01-02 13:06:25 -05:00
executor Add TID Range Scans to support efficient scanning ranges of TIDs 2021-02-27 22:59:36 +13:00
fe_utils Generalize parallel slot result handling. 2021-02-05 16:08:45 -05:00
foreign Implement support for bulk inserts in postgres_fdw 2021-01-20 23:57:27 +01:00
jit Update copyright for 2021 2021-01-02 13:06:25 -05:00
lib Add sort_template.h for making sort functions. 2021-03-03 17:02:22 +13:00
libpq Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
mb Add mbverifystr() functions specific to each encoding. 2021-01-28 14:40:07 +02:00
nodes Add option to enable two_phase commits via pg_create_logical_replication_slot. 2021-03-03 07:34:11 +05:30
optimizer Add TID Range Scans to support efficient scanning ranges of TIDs 2021-02-27 22:59:36 +13:00
parser Remove no-longer-used RTE argument of markVarForSelectPriv(). 2021-02-11 11:23:25 -05:00
partitioning Remove [Merge]AppendPath.partitioned_rels. 2021-02-01 14:43:54 -05:00
port Default to wal_sync_method=fdatasync on FreeBSD. 2021-02-15 16:04:59 +13:00
portability Update copyright for 2021 2021-01-02 13:06:25 -05:00
postmaster Update copyright for 2021 2021-01-02 13:06:25 -05:00
regex Improve memory management in regex compiler. 2021-02-26 13:52:10 -05:00
replication Add option to enable two_phase commits via pg_create_logical_replication_slot. 2021-03-03 07:34:11 +05:30
rewrite SEARCH and CYCLE clauses 2021-02-01 14:32:51 +01:00
snowball Update snowball 2021-02-19 08:10:15 +01:00
statistics Update copyright for 2021 2021-01-02 13:06:25 -05:00
storage Use SIGURG rather than SIGUSR1 for latches. 2021-03-01 12:44:12 +13:00
tcop Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
tsearch Convert tsginidx.c's GIN indexing logic to fully ternary operation. 2021-02-16 12:07:14 -05:00
utils Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
.gitignore Refactor dlopen() support 2018-09-06 11:33:04 +02:00
c.h Tweak compiler version cutoff for no_sanitize("alignment") support. 2021-02-12 17:33:14 -05:00
fmgr.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
funcapi.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
getaddrinfo.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
getopt_long.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
Makefile Build in some knowledge about foreign-key relationships in the catalogs. 2021-02-02 17:11:55 -05:00
miscadmin.h Add idle_session_timeout. 2021-01-06 18:28:52 -05:00
pg_config.h.in Fix inconsistent configure data for --with-ssl 2021-02-20 10:17:10 +09:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Fix some typos, grammar and style in docs and comments 2021-02-24 16:13:17 +09:00
pg_getopt.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_trace.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pgstat.h Bump PGSTAT_FILE_FORMAT_ID 2021-01-18 17:51:49 +01:00
pgtar.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pgtime.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
port.h pg_upgrade: Check version of target cluster binaries 2021-03-03 09:45:56 +01:00
postgres.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
postgres_ext.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
postgres_fe.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
rusagestub.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
windowapi.h Update copyright for 2021 2021-01-02 13:06:25 -05:00