1. 22 10月, 2004 1 次提交
  2. 13 11月, 2003 1 次提交
    • T
      Cross-data-type comparisons are now indexable by btrees, pursuant to my · fa5c8a05
      Tom Lane 提交于
      pghackers proposal of 8-Nov.  All the existing cross-type comparison
      operators (int2/int4/int8 and float4/float8) have appropriate support.
      The original proposal of storing the right-hand-side datatype as part of
      the primary key for pg_amop and pg_amproc got modified a bit in the event;
      it is easier to store zero as the 'default' case and only store a nonzero
      when the operator is actually cross-type.  Along the way, remove the
      long-since-defunct bigbox_ops operator class.
      fa5c8a05
  3. 10 11月, 2003 1 次提交
    • T
      Add operator strategy and comparison-value datatype fields to ScanKey. · c1d62bfd
      Tom Lane 提交于
      Remove the 'strategy map' code, which was a large amount of mechanism
      that no longer had any use except reverse-mapping from procedure OID to
      strategy number.  Passing the strategy number to the index AM in the
      first place is simpler and faster.
      This is a preliminary step in planned support for cross-datatype index
      operations.  I'm committing it now since the ScanKeyEntryInitialize()
      API change touches quite a lot of files, and I want to commit those
      changes before the tree drifts under me.
      c1d62bfd
  4. 28 7月, 2003 1 次提交
  5. 21 5月, 2002 1 次提交
    • T
      Restructure indexscan API (index_beginscan, index_getnext) per · 44fbe20d
      Tom Lane 提交于
      yesterday's proposal to pghackers.  Also remove unnecessary parameters
      to heap_beginscan, heap_rescan.  I modified pg_proc.h to reflect the
      new numbers of parameters for the AM interface routines, but did not
      force an initdb because nothing actually looks at those fields.
      44fbe20d
  6. 06 3月, 2002 1 次提交
    • B
      Change made to elog: · 92288a1c
      Bruce Momjian 提交于
      o  Change all current CVS messages of NOTICE to WARNING.  We were going
      to do this just before 7.3 beta but it has to be done now, as you will
      see below.
      
      o Change current INFO messages that should be controlled by
      client_min_messages to NOTICE.
      
      o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
      to always go to the client.
      
      o Remove INFO from the client_min_messages options and add NOTICE.
      
      Seems we do need three non-ERROR elog levels to handle the various
      behaviors we need for these messages.
      
      Regression passed.
      92288a1c
  7. 23 11月, 2000 1 次提交
  8. 08 7月, 2000 1 次提交
  9. 29 5月, 2000 1 次提交
  10. 13 4月, 2000 1 次提交
  11. 14 2月, 2000 1 次提交
    • B
      contrib-array.patch · a2226ad2
      Bruce Momjian 提交于
              this is an old patch which I have already submitted and never seen
              in the sources. It corrects the datatype oids used in some iterator
              functions. This bug has been reported to me by many other people.
      
      contrib-datetime.patch
      
              some code contributed by Reiner Dassing <dassing@wettzell.ifag.de>
      
      contrib-makefiles.patch
      
              fixes all my contrib makefiles which don't work with some compilers,
              as reported to me by another user.
      
      contrib-miscutil.patch
      
              an old patch for one of my old contribs.
      
      contrib-string.patch
      
              a small change to the c-like text output functions. Now the '{'
              is escaped only at the beginning of the string to distinguish it
              from arrays, and the '}' is no more escaped.
      
      elog-lineno.patch
      
              adds the current lineno of CopyFrom to elog messages. This is very
              useful when you load a 1 million tuples table from an external file
              and there is a bad value somehere. Currently you get an error message
              but you can't know where is the bad data. The patch uses a variable
              which was declared static in copy.c. The variable is now exported
              and initialized to 0. It is always cleared at the end of the copy
              or at the first elog message or when the copy is canceled.
              I know this is very ugly but I can't find any better way of knowing
              where the copy fails and I have this problem quite often.
      
      plperl-makefile.patch
      
              fixes a typo in a makefile, but the error must be elsewhere because
              it is a file generated automatically. Please have a look.
      
      tprintf-timestamp.patch
      
              restores the original 2-digit year format, assuming that the two
              century digits don't carry much information and that '000202' is
              easier to read than 20000202. Being only a log file it shouldn't
              break anything.
      
      Please apply the patches before the next scheduled code freeze.
      
      I also noticed that some of the contribs don't compile correcly. Should we
      ask people to fix their code or rename their makefiles so that they are
      ignored by the top makefile?
      
      --
      Massimo Dal Zotto
      a2226ad2
  12. 28 9月, 1999 1 次提交
  13. 19 9月, 1999 1 次提交
    • T
      Mega-commit to make heap_open/heap_openr/heap_close take an · bd272cac
      Tom Lane 提交于
      additional argument specifying the kind of lock to acquire/release (or
      'NoLock' to do no lock processing).  Ensure that all relations are locked
      with some appropriate lock level before being examined --- this ensures
      that relevant shared-inval messages have been processed and should prevent
      problems caused by concurrent VACUUM.  Fix several bugs having to do with
      mismatched increment/decrement of relation ref count and mismatched
      heap_open/close (which amounts to the same thing).  A bogus ref count on
      a relation doesn't matter much *unless* a SI Inval message happens to
      arrive at the wrong time, which is probably why we got away with this
      sloppiness for so long.  Repair missing grab of AccessExclusiveLock in
      DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi.
      Recommend 'make clean all' after pulling this update; I modified the
      Relation struct layout slightly.
      Will post further discussion to pghackers list shortly.
      bd272cac
  14. 06 6月, 1999 1 次提交
    • B
      Hi, · 27b81439
      Bruce Momjian 提交于
      I have updated my contrib code for version 6.5. In the attachment you will
      find the directories array, datetime, miscutil, string, tools and userlocks
      which replace the corresponding directories under contrib.
      
      In contrib/tools you will find some developement scripts which I use while
      hacking the sources. I hope they will be useful for some other people.
      
      I have also added a contrib/Makefile which tries to compile and install all
      the contribs. Unfortunately many of them don't have a Makefile or don't
      compile cleanly.
      
      --
      Massimo Dal Zotto
      27b81439
  15. 26 5月, 1999 1 次提交
  16. 31 8月, 1998 1 次提交
    • M
      · eec4c736
      Marc G. Fournier 提交于
      From: Massimo Dal Zotto <dz@cs.unitn.it>
      
      Here is a tar file the new directories, which substitute the old ones
      in contrib. Please remove the old directories array, datetime, miscutil,
      string and userlock before unpacking the tar file in contrib.
      
      Note that as the modules are now installed in lib/modules I install all
      my sql code in lib/sql. In my opinion also the other contributors should
      follow these rules.
      eec4c736
  17. 26 2月, 1998 1 次提交
  18. 06 11月, 1997 1 次提交