Skip to content
Snippets Groups Projects
  1. Aug 15, 2014
  2. Jul 10, 2014
    • Tom Lane's avatar
      Implement IMPORT FOREIGN SCHEMA. · 59efda3e
      Tom Lane authored
      This command provides an automated way to create foreign table definitions
      that match remote tables, thereby reducing tedium and chances for error.
      In this patch, we provide the necessary core-server infrastructure and
      implement the feature fully in the postgres_fdw foreign-data wrapper.
      Other wrappers will throw a "feature not supported" error until/unless
      they are updated.
      
      Ronan Dunklau and Michael Paquier, additional work by me
      59efda3e
  3. Feb 24, 2014
  4. May 08, 2013
  5. Mar 10, 2013
    • Tom Lane's avatar
      Support writable foreign tables. · 21734d2f
      Tom Lane authored
      This patch adds the core-system infrastructure needed to support updates
      on foreign tables, and extends contrib/postgres_fdw to allow updates
      against remote Postgres servers.  There's still a great deal of room for
      improvement in optimization of remote updates, but at least there's basic
      functionality there now.
      
      KaiGai Kohei, reviewed by Alexander Korotkov and Laurenz Albe, and rather
      heavily revised by Tom Lane.
      21734d2f
  6. Jan 26, 2013
  7. Jan 25, 2013
  8. Dec 14, 2012
  9. Sep 17, 2012
    • Tom Lane's avatar
      Provide adequate documentation of the "table_name *" notation. · 3c64342c
      Tom Lane authored
      Somewhere along the line, somebody decided to remove all trace of this
      notation from the documentation text.  It was still in the command syntax
      synopses, or at least some of them, but with no indication what it meant.
      This will not do, as evidenced by the confusion apparent in bug #7543;
      even if the notation is now unnecessary, people will find it in legacy
      SQL code and need to know what it does.
      3c64342c
  10. Aug 23, 2012
    • Tom Lane's avatar
      Remove overly-pessimistic statement about constraint exclusion. · 6e2e12c9
      Tom Lane authored
      As of 9.2, constraint exclusion should work okay with prepared statements:
      the planner will try custom plans with actual values of the parameters,
      and observe that they are a lot cheaper than the generic plan, and thus
      never fall back to using the generic plan.  Noted by Tatsuhito Kasahara.
      6e2e12c9
  11. Jun 18, 2012
    • Tom Lane's avatar
      Change ON UPDATE SET NULL/SET DEFAULT referential actions to meet SQL spec. · c75be2ad
      Tom Lane authored
      Previously, when executing an ON UPDATE SET NULL or SET DEFAULT action for
      a multicolumn MATCH SIMPLE foreign key constraint, we would set only those
      referencing columns corresponding to referenced columns that were changed.
      This is what the SQL92 standard said to do --- but more recent versions
      of the standard say that all referencing columns should be set to null or
      their default values, no matter exactly which referenced columns changed.
      At least for SET DEFAULT, that is clearly saner behavior.  It's somewhat
      debatable whether it's an improvement for SET NULL, but it appears that
      other RDBMS systems read the spec this way.  So let's do it like that.
      
      This is a release-notable behavioral change, although considering that
      our documentation already implied it was done this way, the lack of
      complaints suggests few people use such cases.
      c75be2ad
  12. Oct 12, 2011
  13. Jul 25, 2011
  14. Jun 14, 2011
  15. Jun 13, 2011
  16. May 16, 2011
  17. Feb 21, 2011
  18. Feb 20, 2011
  19. Oct 13, 2010
  20. Sep 20, 2010
  21. Aug 26, 2010
  22. Aug 23, 2010
  23. Aug 20, 2010
  24. Jul 29, 2010
    • Peter Eisentraut's avatar
      Fix indentation of verbatim block elements · 66424a28
      Peter Eisentraut authored
      Block elements with verbatim formatting (literallayout, programlisting,
      screen, synopsis) should be aligned at column 0 independent of the surrounding
      SGML, because whitespace is significant, and indenting them creates erratic
      whitespace in the output.  The CSS stylesheets already take care of indenting
      the output.
      
      Assorted markup improvements to go along with it.
      66424a28
  25. Apr 06, 2010
  26. Apr 03, 2010
    • Peter Eisentraut's avatar
      Remove unnecessary xref endterm attributes and title ids · 6dcce398
      Peter Eisentraut authored
      The endterm attribute is mainly useful when the toolchain does not support
      automatic link target text generation for a particular situation.  In  the
      past, this was required by the man page tools for all reference page links,
      but that is no longer the case, and it now actually gets in the way of
      proper automatic link text generation.  The only remaining use cases are
      currently xrefs to refsects.
      6dcce398
  27. Apr 01, 2010
  28. Feb 24, 2010
  29. Oct 23, 2009
  30. Jun 17, 2009
  31. Apr 27, 2009
  32. Jan 08, 2009
  33. Jan 07, 2009
    • Tom Lane's avatar
      Create a third option named "partition" for constraint_exclusion, and make it · 445ce157
      Tom Lane authored
      the default.  This setting enables constraint exclusion checks only for
      appendrel members (ie, inheritance children and UNION ALL arms), which are
      the cases in which constraint exclusion is most likely to be useful.  Avoiding
      the overhead for simple queries that are unlikely to benefit should bring
      the cost down to the point where this is a reasonable default setting.
      Per today's discussion.
      445ce157
  34. Sep 08, 2008
  35. May 10, 2008
    • Tom Lane's avatar
      Change the rules for inherited CHECK constraints to be essentially the same · cd902b33
      Tom Lane authored
      as those for inherited columns; that is, it's no longer allowed for a child
      table to not have a check constraint matching one that exists on a parent.
      This satisfies the principle of least surprise (rows selected from the parent
      will always appear to meet its check constraints) and eliminates some
      longstanding bogosity in pg_dump, which formerly had to guess about whether
      check constraints were really inherited or not.
      
      The implementation involves adding conislocal and coninhcount columns to
      pg_constraint (paralleling attislocal and attinhcount in pg_attribute)
      and refactoring various ALTER TABLE actions to be more like those for
      columns.
      
      Alex Hunsaker, Nikhil Sontakke, Tom Lane
      cd902b33
  36. Jan 13, 2008
Loading