1. 06 12月, 2002 1 次提交
  2. 18 11月, 2002 1 次提交
  3. 05 9月, 2002 1 次提交
  4. 04 9月, 2002 1 次提交
  5. 29 8月, 2002 2 次提交
  6. 22 8月, 2002 1 次提交
    • B
      Add: · 89260124
      Bruce Momjian 提交于
      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
  7. 04 8月, 2002 1 次提交
    • T
      Add guard code to protect from buffer overruns on long date/time input · b71310d8
      Thomas G. Lockhart 提交于
       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
  8. 21 6月, 2002 1 次提交
  9. 25 4月, 2002 1 次提交
  10. 24 4月, 2002 1 次提交
    • B
      Here's a patch to add unknownin/unknownout support. I also poked around · 5d2fdf6e
      Bruce Momjian 提交于
      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
  11. 15 4月, 2002 1 次提交
  12. 03 4月, 2002 1 次提交
  13. 01 4月, 2002 1 次提交
    • T
      Create a new GUC variable search_path to control the namespace search · 838fe25a
      Tom Lane 提交于
      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
  14. 30 3月, 2002 1 次提交
  15. 05 3月, 2002 1 次提交
    • B
      I attach a version of my toast-slicing patch, against current CVS · 03194432
      Bruce Momjian 提交于
      (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
  16. 20 11月, 2001 2 次提交
  17. 19 11月, 2001 1 次提交
  18. 18 11月, 2001 1 次提交
  19. 25 10月, 2001 1 次提交
  20. 15 9月, 2001 1 次提交
    • B
      > Here's a revised patch. Changes: · c1fbf066
      Bruce Momjian 提交于
      >
      > 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
  21. 11 9月, 2001 1 次提交
  22. 14 8月, 2001 1 次提交
  23. 04 5月, 2001 1 次提交
    • T
      Ensure that btree sort ordering functions and boolean comparison operators · 2792374c
      Tom Lane 提交于
      give consistent results for all datatypes.  Types float4, float8, and
      numeric were broken for NaN values; abstime, timestamp, and interval
      were broken for INVALID values; timetz was just plain broken (some
      possible pairs of values were neither < nor = nor >).  Also clean up
      text, bpchar, varchar, and bit/varbit to eliminate duplicate code and
      thereby reduce the probability of similar inconsistencies arising in
      the future.
      2792374c
  24. 22 3月, 2001 1 次提交
  25. 10 2月, 2001 1 次提交
    • T
      Restructure the key include files per recent pghackers discussion: there · d08741ea
      Tom Lane 提交于
      are now separate files "postgres.h" and "postgres_fe.h", which are meant
      to be the primary include files for backend .c files and frontend .c files
      respectively.  By default, only include files meant for frontend use are
      installed into the installation include directory.  There is a new make
      target 'make install-all-headers' that adds the whole content of the
      src/include tree to the installed fileset, for use by people who want to
      develop server-side code without keeping the complete source tree on hand.
      Cleaned up a whole lot of crufty and inconsistent header inclusions.
      d08741ea
  26. 25 1月, 2001 1 次提交
  27. 04 12月, 2000 1 次提交
  28. 29 7月, 2000 1 次提交
  29. 12 7月, 2000 1 次提交
  30. 06 7月, 2000 2 次提交
  31. 04 7月, 2000 1 次提交
    • J
      TOAST · 57d8080a
      Jan Wieck 提交于
          WARNING: This is actually broken - we have self-deadlocks
      	         due to concurrent changes in buffer management.
      			 Vadim and me are working on it.
      
      Jan
      57d8080a
  32. 15 6月, 2000 1 次提交
    • P
      Big warnings cleanup for Solaris/GCC. Down to about 40 now, but · 44d1abeb
      Peter Eisentraut 提交于
      we'll get there one day.
      
      Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
      have automake installed.
      
      Only run the autoconf rule in the top-level GNUmakefile if the
      invoker specified `make configure', don't run it automatically
      because of CVS timestamp skew.
      44d1abeb
  33. 13 6月, 2000 1 次提交
  34. 13 4月, 2000 1 次提交
  35. 24 3月, 2000 1 次提交
  36. 26 1月, 2000 1 次提交
    • B
      Add: · 5c25d602
      Bruce Momjian 提交于
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  37. 15 1月, 2000 1 次提交