aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIncrementalSort.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-07-18 12:44:51 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-07-18 12:44:51 -0400
commit9de77b5453130242654ff0b30a551c9c862ed661 (patch)
tree9c48ed25ee4711934006078939a834186c8e9727 /src/backend/executor/nodeIncrementalSort.c
parent9add405014f8e47e038af7124528b7601249a2ac (diff)
downloadpostgresql-9de77b5453130242654ff0b30a551c9c862ed661.tar.gz
postgresql-9de77b5453130242654ff0b30a551c9c862ed661.zip
Allow logical replication to transfer data in binary format.
This patch adds a "binary" option to CREATE/ALTER SUBSCRIPTION. When that's set, the publisher will send data using the data type's typsend function if any, rather than typoutput. This is generally faster, if slightly less robust. As committed, we won't try to transfer user-defined array or composite types in binary, for fear that type OIDs won't match at the subscriber. This might be changed later, but it seems like fit material for a follow-on patch. Dave Cramer, reviewed by Daniel Gustafsson, Petr Jelinek, and others; adjusted some by me Discussion: https://postgr.es/m/CADK3HH+R3xMn=8t3Ct+uD+qJ1KD=Hbif5NFMJ+d5DkoCzp6Vgw@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeIncrementalSort.c')
0 files changed, 0 insertions, 0 deletions