1. 26 3月, 2009 1 次提交
    • T
      Adjust the APIs for GIN opclass support functions to allow the extractQuery() · 87b8db37
      Tom Lane 提交于
      method to pass extra data to the consistent() and comparePartial() methods.
      This is the core infrastructure needed to support the soon-to-appear
      contrib/btree_gin module.  The APIs are still upward compatible with the
      definitions used in 8.3 and before, although *not* with the previous 8.4devel
      function definitions.
      
      catversion bump for changes in pg_proc entries (although these are just
      cosmetic, since GIN doesn't actually look at the function signature before
      calling it...)
      
      Teodor Sigaev and Oleg Bartunov
      87b8db37
  2. 15 4月, 2008 1 次提交
    • T
      Push index operator lossiness determination down to GIST/GIN opclass · 9b5c8d45
      Tom Lane 提交于
      "consistent" functions, and remove pg_amop.opreqcheck, as per recent
      discussion.  The main immediate benefit of this is that we no longer need
      8.3's ugly hack of requiring @@@ rather than @@ to test weight-using tsquery
      searches on GIN indexes.  In future it should be possible to optimize some
      other queries better than is done now, by detecting at runtime whether the
      index match is exact or not.
      
      Tom Lane, after an idea of Heikki's, and with some help from Teodor.
      9b5c8d45
  3. 13 11月, 2007 1 次提交
  4. 11 11月, 2007 1 次提交
    • B
      Make /contrib install/uninstall script consistent: · 926bbab4
      Bruce Momjian 提交于
      	remove transactions
      	use create or replace function
      	make formatting consistent
      	set search patch on first line
      
      Add documentation on modifying *.sql to set the search patch, and
      mention that major upgrades should still run the installation scripts.
      
      Some of these issues were spotted by Tom today.
      926bbab4
  5. 14 3月, 2007 1 次提交
  6. 14 3月, 2006 1 次提交
    • N
      Fix a number of syntax errors in contrib modules' uninstall scripts. · 48fb6967
      Neil Conway 提交于
      Most of the changes add the mandatory USING clause to DROP OPERATOR
      CLASS statements.  DROP TYPE is now DROP TYPE CASCADE; without
      CASCADE a DROP TYPE fails due to the circular dependency on the
      type's I/O functions.  The DROP FUNCTION statements for the I/O
      functions have been removed, as DROP TYPE CASCADE removes them
      automatically. Patch from Michael Fuhr.
      48fb6967
  7. 27 2月, 2006 1 次提交