pgrowlocks: Reject unlogged and temp tables during recovery Unlogged and temporary tables have no data on a standby, and attempting to use pgrowlocks() in this case led to this failure:
ERROR: could not open file "base/MMM/NNN": No such file or directory These cases are now checked, failing with a proper failure. Temporary tables from other sessions cannot be accessed, as the streaming read APIs prevent that already. Author: Jim Jones <[email protected]> Reported-by: Zsolt Parragi <[email protected]> Reviewed-by: Kirill Reshke <[email protected]> Reviewed-by: Michael Paquier <[email protected]> Reviewed-by: Surya Poondla <[email protected]> Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3c5a4dcaaa8d5bef429bd8143d1a6e9f92fa0b74 Modified Files -------------- contrib/pgrowlocks/pgrowlocks.c | 6 ++++++ 1 file changed, 6 insertions(+)
