You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alexander Korotkov
0f5ca02f53
Implement waiting for given lsn at transaction start
...
This commit adds following optional clause to BEGIN and START TRANSACTION
commands.
WAIT FOR LSN lsn [ TIMEOUT timeout ]
New clause pospones transaction start till given lsn is applied on standby.
This clause allows user be sure, that changes previously made on primary would
be visible on standby.
New shared memory struct is used to track awaited lsn per backend. Recovery
process wakes up backend once required lsn is applied.
Author: Ivan Kartyshov, Anna Akenteva
Reviewed-by: Craig Ringer, Thomas Munro, Robert Haas, Kyotaro Horiguchi
Reviewed-by: Masahiko Sawada, Ants Aasma, Dmitry Ivanov, Simon Riggs
Reviewed-by: Amit Kapila, Alexander Korotkov
Discussion: https://postgr.es/m/0240c26c-9f84-30ea-fca9-93ab2df5f305%40postgrespro.ru
6 years ago
..
Makefile
Implement waiting for given lsn at transaction start
6 years ago
aggregatecmds.c
Update copyrights for 2020
6 years ago
alter.c
Avoid duplicates in ALTER ... DEPENDS ON EXTENSION
6 years ago
amcmds.c
Update copyrights for 2020
6 years ago
analyze.c
Introduce macros for typalign and typstorage constants.
6 years ago
async.c
Refactor ps_status.c API
6 years ago
cluster.c
Refactor cluster.c to use new routine get_index_isclustered()
6 years ago
collationcmds.c
Remove utils/acl.h from catalog/objectaddress.h
6 years ago
comment.c
Update copyrights for 2020
6 years ago
constraint.c
Fix bogus CALLED_AS_TRIGGER() defenses.
6 years ago
conversioncmds.c
Remove utils/acl.h from catalog/objectaddress.h
6 years ago
copy.c
Skip WAL for new relfilenodes, under wal_level=minimal.
6 years ago
createas.c
Skip WAL for new relfilenodes, under wal_level=minimal.
6 years ago
dbcommands.c
Update copyrights for 2020
6 years ago
define.c
Update copyrights for 2020
6 years ago
discard.c
Update copyrights for 2020
6 years ago
dropcmds.c
Remove utils/acl.h from catalog/objectaddress.h
6 years ago
event_trigger.c
Introduce macros for typalign and typstorage constants.
6 years ago
explain.c
Minor improvements in Incremental Sort explain
6 years ago
extension.c
Allow the planner-related functions and hook to accept the query string.
6 years ago
foreigncmds.c
Update copyrights for 2020
6 years ago
functioncmds.c
Introduce "anycompatible" family of polymorphic types.
6 years ago
indexcmds.c
Skip WAL for new relfilenodes, under wal_level=minimal.
6 years ago
lockcmds.c
Make inherited LOCK TABLE perform access permission checks on parent table only.
6 years ago
matview.c
Skip WAL for new relfilenodes, under wal_level=minimal.
6 years ago
opclasscmds.c
Improve error reporting in opclasscmds.c
6 years ago
operatorcmds.c
Remove utils/acl.h from catalog/objectaddress.h
6 years ago
policy.c
Introduce macros for typalign and typstorage constants.
6 years ago
portalcmds.c
Allow the planner-related functions and hook to accept the query string.
6 years ago
prepare.c
Include information on buffer usage during planning phase, in EXPLAIN output, take two.
6 years ago
proclang.c
Remove the "opaque" pseudo-type and associated compatibility hacks.
6 years ago
publicationcmds.c
Remove utils/acl.h from catalog/objectaddress.h
6 years ago
schemacmds.c
Update copyrights for 2020
6 years ago
seclabel.c
Update copyrights for 2020
6 years ago
sequence.c
Update copyrights for 2020
6 years ago
statscmds.c
Introduce macros for typalign and typstorage constants.
6 years ago
subscriptioncmds.c
Remove utils/acl.h from catalog/objectaddress.h
6 years ago
tablecmds.c
Preserve clustered index after rewrites with ALTER TABLE
6 years ago
tablespace.c
Update copyrights for 2020
6 years ago
trigger.c
Enable BEFORE row-level triggers for partitioned tables
6 years ago
tsearchcmds.c
Preserve integer and float values accurately in (de)serialize_deflist.
6 years ago
typecmds.c
Split out CreateCast into src/backend/catalog/pg_cast.c
6 years ago
user.c
Remove long-dead comments.
6 years ago
vacuum.c
Fix coverity complaint about commit 40d964ec99
.
6 years ago
variable.c
Update copyrights for 2020
6 years ago
view.c
Restructure ALTER TABLE execution to fix assorted bugs.
6 years ago
wait.c
Implement waiting for given lsn at transaction start
6 years ago