1. 21 Feb, 2004 1 commit
  2. 31 Jan, 2004 2 commits
  3. 19 Dec, 2003 1 commit
  4. 30 Nov, 2003 1 commit
  5. 29 Nov, 2003 1 commit
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  6. 25 Sep, 2003 1 commit
  7. 04 Aug, 2003 3 commits
  8. 27 Jul, 2003 1 commit
  9. 27 Jun, 2003 1 commit
    • Tom Lane's avatar
      Create real array comparison functions (that use the element datatype's · b3c0551e
      Tom Lane authored
      comparison functions), replacing the highly bogus bitwise array_eq.  Create
      a btree index opclass for ANYARRAY --- it is now possible to create indexes
      on array columns.
      Arrange to cache the results of catalog lookups across multiple array
      operations, instead of repeating the lookups on every call.
      Add string_to_array and array_to_string functions.
      Remove singleton_array, array_accum, array_assign, and array_subscript
      functions, since these were for proof-of-concept and not intended to become
      supported functions.
      Minor adjustments to behavior in some corner cases with empty or
      zero-dimensional arrays.
      
      Joe Conway (with some editorializing by Tom Lane).
      b3c0551e
  10. 25 Jun, 2003 1 commit
  11. 24 Jun, 2003 1 commit
  12. 15 May, 2003 1 commit
  13. 09 May, 2003 1 commit
  14. 24 Apr, 2003 1 commit
    • Tom Lane's avatar
      Infrastructure for upgraded error reporting mechanism. elog.c is · f690920a
      Tom Lane authored
      rewritten and the protocol is changed, but most elog calls are still
      elog calls.  Also, we need to contemplate mechanisms for controlling
      all this functionality --- eg, how much stuff should appear in the
      postmaster log?  And what API should libpq expose for it?
      f690920a
  15. 10 Mar, 2003 1 commit
  16. 06 Dec, 2002 1 commit
  17. 17 Nov, 2002 1 commit
  18. 04 Sep, 2002 1 commit
  19. 03 Sep, 2002 1 commit
  20. 29 Aug, 2002 1 commit
  21. 28 Aug, 2002 1 commit
  22. 22 Aug, 2002 1 commit
    • Bruce Momjian's avatar
      Add: · 89260124
      Bruce Momjian authored
      replace(string, from, to)
         -- replaces all occurrences of "from" in "string" to "to"
      split(string, fldsep, column)
         -- splits "string" on "fldsep" and returns "column" number piece
      to_hex(int32_num) & to_hex(int64_num)
         -- takes integer number and returns as hex string
      
      Joe Conway
      89260124
  23. 04 Aug, 2002 1 commit
    • Thomas G. Lockhart's avatar
      Add guard code to protect from buffer overruns on long date/time input · b71310d8
      Thomas G. Lockhart authored
       strings. Should go back in and look at doing this a bit more elegantly
       and (hopefully) cheaper. Probably not too bad anyway, but it seems a
       shame to scan the strings twice: once for length for this buffer overrun
       protection, and once to parse the line.
      Remove use of pow() in date/time handling; was already gone from everything
       *but* the time data types.
      Define macros for handling typmod manipulation for date/time types.
       Should be more robust than all of that brute-force inline code.
      Rename macros for masking and typmod manipulation to put TIMESTAMP_
       or INTERVAL_ in front of the macro name, to reduce the possibility
       of name space collisions.
      b71310d8
  24. 20 Jun, 2002 1 commit
  25. 25 Apr, 2002 1 commit
  26. 24 Apr, 2002 1 commit
    • Bruce Momjian's avatar
      Here's a patch to add unknownin/unknownout support. I also poked around · 5d2fdf6e
      Bruce Momjian authored
      looking for places that assume UNKNOWN == TEXT. One of those was the
      "SET" type in pg_type.h, which was using textin/textout. This one I took
      care of in this patch. The other suspicious place was in
      string_to_dataum (which is defined in both selfuncs.c and indxpath.c). I
      wasn't too sure about those, so I left them be.
      
      Joe Conway
      5d2fdf6e
  27. 15 Apr, 2002 1 commit
  28. 03 Apr, 2002 1 commit
  29. 01 Apr, 2002 1 commit
    • Tom Lane's avatar
      Create a new GUC variable search_path to control the namespace search · 838fe25a
      Tom Lane authored
      path.  The default behavior if no per-user schemas are created is that
      all users share a 'public' namespace, thus providing behavior backwards
      compatible with 7.2 and earlier releases.  Probably the semantics and
      default setting will need to be fine-tuned, but this is a start.
      838fe25a
  30. 30 Mar, 2002 1 commit
  31. 05 Mar, 2002 1 commit
    • Bruce Momjian's avatar
      I attach a version of my toast-slicing patch, against current CVS · 03194432
      Bruce Momjian authored
      (current as of a few hours ago.)
      
      This patch:
      
      1. Adds PG_GETARG_xxx_P_SLICE() macros and associated support routines.
      
      2. Adds routines in src/backend/access/tuptoaster.c for fetching only
      necessary chunks of a toasted value. (Modelled on latest changes to
      assume chunks are returned in order).
      
      3. Amends text_substr and bytea_substr to use new methods. It now
      handles multibyte cases -and should still lead to a performance
      improvement in the multibyte case where the substring is near the
      beginning of the string.
      
      4. Added new command: ALTER TABLE tabname ALTER COLUMN colname SET
      STORAGE {PLAIN | EXTERNAL | EXTENDED | MAIN} to parser and documented in
      alter-table.sgml. (NB I used ColId as the item type for the storage
      mode string, rather than a new production - I hope this makes sense!).
      All this does is sets attstorage for the specified column.
      
      4. AlterTableAlterColumnStatistics is now AlterTableAlterColumnFlags and
      handles both statistics and storage (it uses the subtype code to
      distinguish). The previous version of my patch also re-arranged other
      code in backend/commands/command.c but I have dropped that from this
      patch.(I plan to return to it separately).
      
      5. Documented new macros (and also the PG_GETARG_xxx_P_COPY macros) in
      xfunc.sgml. ref/alter_table.sgml also contains documentation for ALTER
      COLUMN SET STORAGE.
      
      John Gray
      03194432
  32. 19 Nov, 2001 3 commits
  33. 18 Nov, 2001 1 commit
  34. 25 Oct, 2001 1 commit
  35. 14 Sep, 2001 1 commit
    • Bruce Momjian's avatar
      > Here's a revised patch. Changes: · c1fbf066
      Bruce Momjian authored
      >
      > 1. Now outputs '\\' instead of '\134' when using encode(bytea, 'escape')
      > Note that I ended up leaving \0 as \000 so that there are no ambiguities
      > when decoding something like, for example, \0123.
      >
      > 2. Fixed bug in byteain which allowed input values which were not valid
      > octals (e.g. \789), to be parsed as if they were octals.
      >
      > Joe
      >
      
      Here's rev 2 of the bytea string support patch. Changes:
      
      1. Added missing declaration for MatchBytea function
      2. Added PQescapeBytea to fe-exec.c
      3. Applies cleanly on cvs tip from this afternoon
      
      I'm hoping that someone can review/approve/apply this before beta starts, so
      I guess I'd vote (not that it counts for much) to delay beta a few days :-)
      
      Joe Conway
      c1fbf066