Skip to content
Snippets Groups Projects
  1. Mar 01, 2006
  2. Feb 28, 2006
  3. Feb 27, 2006
  4. Feb 26, 2006
  5. Feb 25, 2006
  6. Feb 24, 2006
  7. Feb 23, 2006
  8. Feb 22, 2006
    • Neil Conway's avatar
      Cleanup the usage of ScanDirection: use the symbolic names for the · 737651f6
      Neil Conway authored
      possible ScanDirection alternatives rather than magic numbers
      (-1, 0, 1).  Also, use the ScanDirection macros in a few places
      rather than directly checking whether `dir == ForwardScanDirection'
      and the like. Per patch from James William Pye. His patch also
      changed ScanDirection to be a "char" rather than an enum, which
      I haven't applied.
      737651f6
  9. Feb 21, 2006
    • Tom Lane's avatar
      Fix old pg_dump oversight: default values for domains really need to be dumped · 3666260f
      Tom Lane authored
      by decompiling the typdefaultbin expression, not just printing the typdefault
      text which may be out-of-date or assume the wrong schema search path.  (It's
      the same hazard as for adbin vs adsrc in column defaults.)  The catalogs.sgml
      spec for pg_type implies that the correct procedure is to look to
      typdefaultbin first and consider typdefault only if typdefaultbin is NULL.
      I made dumping of both domains and base types do that, even though in the
      current backend code typdefaultbin is always correct for domains and
      typdefault for base types --- might as well try to future-proof it a little.
      Per bug report from Alexander Galler.
      3666260f
Loading