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

deparse.c

  • Tom Lane's avatar
    50c19fc7
    Fix contrib/postgres_fdw's handling of column defaults. · 50c19fc7
    Tom Lane authored
    Adopt the position that only locally-defined defaults matter.  Any defaults
    defined in the remote database do not affect insertions performed through
    a foreign table (unless they are for columns not known to the foreign
    table).  While it'd arguably be more useful to permit remote defaults to be
    used, making that work in a consistent fashion requires far more work than
    seems possible for 9.3.
    50c19fc7
    History
    Fix contrib/postgres_fdw's handling of column defaults.
    Tom Lane authored
    Adopt the position that only locally-defined defaults matter.  Any defaults
    defined in the remote database do not affect insertions performed through
    a foreign table (unless they are for columns not known to the foreign
    table).  While it'd arguably be more useful to permit remote defaults to be
    used, making that work in a consistent fashion requires far more work than
    seems possible for 9.3.