Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

connection.c

Blame
    • Etsuro Fujita's avatar
      1bd67d53
      postgres_fdw: Fix error message for PREPARE TRANSACTION. · 1bd67d53
      Etsuro Fujita authored
      Currently, postgres_fdw does not support preparing a remote transaction
      for two-phase commit even in the case where the remote transaction is
      read-only, but the old error message appeared to imply that that was not
      supported only if the remote transaction modified remote tables.  Change
      the message so as to include the case where the remote transaction is
      read-only.
      
      Also fix a comment above the message.
      
      Also add a note about the lack of supporting PREPARE TRANSACTION to the
      postgres_fdw documentation.
      
      Reported-by: Gilles Darold
      Author: Gilles Darold and Etsuro Fujita
      Reviewed-by: Michael Paquier and Kyotaro Horiguchi
      Backpatch-through: 9.4
      Discussion: https://postgr.es/m/08600ed3-3084-be70-65ba-279ab19618a5%40darold.net
      1bd67d53
      History
      postgres_fdw: Fix error message for PREPARE TRANSACTION.
      Etsuro Fujita authored
      Currently, postgres_fdw does not support preparing a remote transaction
      for two-phase commit even in the case where the remote transaction is
      read-only, but the old error message appeared to imply that that was not
      supported only if the remote transaction modified remote tables.  Change
      the message so as to include the case where the remote transaction is
      read-only.
      
      Also fix a comment above the message.
      
      Also add a note about the lack of supporting PREPARE TRANSACTION to the
      postgres_fdw documentation.
      
      Reported-by: Gilles Darold
      Author: Gilles Darold and Etsuro Fujita
      Reviewed-by: Michael Paquier and Kyotaro Horiguchi
      Backpatch-through: 9.4
      Discussion: https://postgr.es/m/08600ed3-3084-be70-65ba-279ab19618a5%40darold.net
    connection.c 35.95 KiB