Skip to content
Snippets Groups Projects
  1. Feb 13, 2006
  2. Feb 12, 2006
  3. Dec 03, 2005
    • Bruce Momjian's avatar
      Allow to_char(interval) and to_char(time) to use AM/PM specifications. · d20901a3
      Bruce Momjian authored
      Map them to a single day, so '30 hours' is 'AM'.
      
      Have to_char(interval) and to_char(time) use "HH", "HH12" as 12-hour
      intervals, rather than bypass and print the full interval hours.  This
      is neeeded because to_char(time) is mapped to interval in this function.
      Intervals should use "HH24", and document suggestion.
      
      Allow "D" format specifiers for interval/time.
      d20901a3
  4. Nov 22, 2005
  5. Oct 20, 2005
  6. Oct 15, 2005
  7. Aug 18, 2005
  8. Aug 17, 2005
  9. Jul 27, 2005
  10. Jul 23, 2005
  11. Jul 21, 2005
  12. Jul 20, 2005
    • Bruce Momjian's avatar
      Add 'day' field to INTERVAL so 1 day interval can be distinguished from · db05f4a7
      Bruce Momjian authored
      24 hours. This is very helpful for daylight savings time:
      
      	select '2005-05-03 00:00:00 EST'::timestamp with time zone + '24 hours';
      	      ?column?
      	----------------------
      	2005-05-04 01:00:00-04
      
      	select '2005-05-03 00:00:00 EST'::timestamp with time zone + '1 day';
      	      ?column?
      	----------------------
      	2005-05-04 01:00:00-04
      
      Michael Glaesemann
      db05f4a7
  13. Jun 24, 2005
  14. Jun 22, 2005
  15. Jun 15, 2005
    • Bruce Momjian's avatar
      This patch makes it possible to use the full set of timezones when doing · 0851a6fb
      Bruce Momjian authored
      "AT TIME ZONE", and not just the shorlist previously available. For
      example:
      
      SELECT CURRENT_TIMESTAMP AT TIME ZONE 'Europe/London';
      
      works fine now. It will also obey whatever DST rules were in effect at
      just that date, which the previous implementation did not.
      
      It also supports the AT TIME ZONE on the timetz datatype. The whole
      handling of DST is a bit bogus there, so I chose to make it use whatever
      DST rules are in effect at the time of executig the query. not sure if
      anybody is actuallyi *using* timetz though, it seems pretty
      unpredictable just because of this...
      
      Magnus Hagander
      0851a6fb
  16. May 25, 2005
  17. Mar 26, 2005
  18. Mar 25, 2005
  19. Jan 13, 2005
  20. Jan 01, 2005
  21. Nov 20, 2004
  22. Nov 01, 2004
  23. Oct 28, 2004
  24. Oct 13, 2004
    • Neil Conway's avatar
      More minor cosmetic improvements: · 7069dbcc
      Neil Conway authored
      - remove another senseless "extern" keyword that was applied to a
      function definition
      - change a foo more function signatures from "some_type foo()" to
      "some_type foo(void)"
      - rewrite another K&R style function definition
      - make the type of the "action" function pointer in the KeyWord struct
      in src/backend/utils/adt/formatting.c more precise
      7069dbcc
  25. Aug 30, 2004
  26. Aug 29, 2004
  27. May 21, 2004
  28. May 07, 2004
    • Tom Lane's avatar
      Solve the 'Turkish problem' with undesirable locale behavior for case · 0bd61548
      Tom Lane authored
      conversion of basic ASCII letters.  Remove all uses of strcasecmp and
      strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp;
      remove most but not all direct uses of toupper and tolower in favor of
      pg_toupper and pg_tolower.  These functions use the same notions of
      case folding already developed for identifier case conversion.  I left
      the straight locale-based folding in place for situations where we are
      just manipulating user data and not trying to match it to built-in
      strings --- for example, the SQL upper() function is still locale
      dependent.  Perhaps this will prove not to be what's wanted, but at
      the moment we can initdb and pass regression tests in Turkish locale.
      0bd61548
  29. Mar 30, 2004
  30. Jan 07, 2004
  31. Dec 25, 2003
    • Bruce Momjian's avatar
      > > I have no idea if this in Oracle or not. But it's something I · 1c757c49
      Bruce Momjian authored
      > > needed, and other people in the past asked about it too.
      >
      > It is in Oracle, but you aren't exactly on the spot.  It should be
      >
      > IYYY - 4 digits  ('2003')
      > IYY  - 3 digits  ('003')
      > IY   - 2 digits  ('03')
      > I    - 1 digit   ('3')
      
      Here is an updated patch that does that.
      
      Kurt Roeckx
      1c757c49
  32. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  33. Sep 29, 2003
  34. Sep 03, 2003
  35. Aug 25, 2003
Loading