Skip to content
Snippets Groups Projects
  1. Jul 27, 2003
  2. Jul 26, 2003
  3. Jul 25, 2003
  4. Jul 24, 2003
  5. Jul 23, 2003
  6. Jul 22, 2003
  7. Jul 19, 2003
  8. Jul 18, 2003
  9. Jul 17, 2003
  10. Jul 15, 2003
  11. Jul 14, 2003
  12. Jul 09, 2003
  13. Jul 04, 2003
  14. Jul 03, 2003
  15. Jul 01, 2003
  16. Jun 30, 2003
  17. Jun 29, 2003
    • Tom Lane's avatar
      Support expressions of the form 'scalar op ANY (array)' and · bee21792
      Tom Lane authored
      'scalar op ALL (array)', where the operator is applied between the
      lefthand scalar and each element of the array.  The operator must
      yield boolean; the result of the construct is the OR or AND of the
      per-element results, respectively.
      
      Original coding by Joe Conway, after an idea of Peter's.  Rewritten
      by Tom to keep the implementation strictly separate from subqueries.
      bee21792
  18. Jun 27, 2003
  19. Jun 25, 2003
    • Bruce Momjian's avatar
      Back out array mega-patch. · 111d8e52
      Bruce Momjian authored
      Joe Conway
      111d8e52
    • Tom Lane's avatar
      In ISO datestyle, never emit just HH:MM, always emit HH:MM:SS or · 621691d8
      Tom Lane authored
      HH:MM:SS.SSS... when there is a nonzero part-of-a-day field in an
      interval value.  The seconds part used to be suppressed if zero,
      but there's no equivalent behavior for timestamp, and since we're
      modeling this format on timestamp it's probably wrong.  Per complaint
      and patch from Larry Rosenman.
      621691d8
    • Bruce Momjian's avatar
      Updated the pg_get_constraintdef() to use conbin. Update pg_dump to use · ca64391d
      Bruce Momjian authored
      pg_get_constraintdef() for >= 70400.
      
      Rod Taylor <rbt@rbt.ca>
      ca64391d
    • Bruce Momjian's avatar
      >> If a transaction marks a tuple for update and later commits without · dd23a882
      Bruce Momjian authored
      >> actually having updated the tuple, [...] can we simply
      >> set the HEAP_XMAX_INVALID hint bit of the tuple?
      >
      >AFAICS this is a reasonable thing to do.
      
      Thanks for the confirmation.  Here's a patch which also contains some
      more noncritical changes to tqual.c:
       .  make code more readable by introducing local variables for xvac
       .  no longer two separate branches for aborted and crashed.
          The actions were the same in all cases.
      
      Manfred Koizar
      dd23a882
    • Bruce Momjian's avatar
      Array mega-patch. · 46bf6514
      Bruce Momjian authored
      Joe Conway
      46bf6514
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      Add ipv6 address parsing support to 'inet' and 'cidr' data types. · 945543d9
      Bruce Momjian authored
              Regression tests for IPv6 operations added.
      
              Documentation updated to document IPv6 bits.
      
              Stop treating IPv4 as an "unsigned int" and IPv6 as an array of
              characters.  Instead, always use the array of characters so we
              can have one function fits all.  This makes bitncmp(), addressOK(),
              and several other functions "just work" on both address families.
      
              add family() function which returns integer 4 or 6 for IPv4 or
              IPv6.  (See examples below)  Note that to add this new function
              you will need to dump/initdb/reload or find the correct magic
              to add the function to the postgresql function catalogs.
      
              IPv4 addresses always sort before IPv6.
      
              On disk we use AF_INET for IPv4, and AF_INET+1 for IPv6 addresses.
              This prevents the need for a dump and reload, but lets IPv6 parsing
              work on machines without AF_INET6.
      
              To select all IPv4 addresses from a table:
      
                      select * from foo where family(addr) = 4 ...
      
              Order by and other bits should all work.
      
      Michael Graff
      945543d9
Loading