Revise GIN README
authorAlexander Korotkov
Tue, 19 Nov 2019 20:11:24 +0000 (23:11 +0300)
committerAlexander Korotkov
Tue, 19 Nov 2019 21:04:22 +0000 (00:04 +0300)
commit32ca32d0bed4b95e5cd63998478a7816a89cd43d
tree0f1e2a7d3e806b2e0d084e5e88a74b53ff111d25
parentd5ad7a09afd066dce423f282bb2b338f48614d32
Revise GIN README

We find GIN concurrency bugs from time to time.  One of the problems here is
that concurrency of GIN isn't well-documented in README.  So, it might be even
hard to distinguish design bugs from implementation bugs.

This commit revised concurrency section in GIN README providing more details.
Some examples are illustrated in ASCII art.

Also, this commit add the explanation of how is tuple layout in internal GIN
B-tree page different in comparison with nbtree.

Discussion: https://postgr.es/m/CAPpHfduXR_ywyaVN4%2BOYEGaw%3DcPLzWX6RxYLBncKw8de9vOkqw%40mail.gmail.com
Author: Alexander Korotkov
Reviewed-by: Peter Geoghegan
Backpatch-through: 9.4
src/backend/access/gin/README