1. 23 11月, 2005 1 次提交
  2. 22 11月, 2005 13 次提交
  3. 21 11月, 2005 5 次提交
    • A
      Implement DROP OWNED and REASSIGN OWNED. These new commands facilitate the · cec3b0a9
      Alvaro Herrera 提交于
      process of dropping roles by dropping objects owned by them and privileges
      granted to them, or giving the owned objects to someone else, through the
      use of the data stored in the new pg_shdepend catalog.
      
      Some refactoring of the GRANT/REVOKE code was needed, as well as ALTER OWNER
      code.  Further cleanup of code duplication in the GRANT code seems necessary.
      
      Implemented by me after an idea from Tom Lane, who also provided various kind
      of implementation advice.
      
      Regression tests pass.  Some tests for the new functionality are also added,
      as well as rudimentary documentation.
      cec3b0a9
    • T
      Text parser rewritten: · c52795d1
      Teodor Sigaev 提交于
              - supports multibyte encodings
              - more strict rules for lexemes
              - flex isn't used
      Add:
              - tsquery plainto_tsquery(text)
                Function makes tsquery from plain text.
              - &&, ||, !! operation for tsquery for combining
                tsquery from it's parts:  'foo & bar' || 'asd' => 'foo & bar | asd'
      c52795d1
    • T
      Clean up after DROP IF EXISTS patch. · b91e6ed9
      Tom Lane 提交于
      b91e6ed9
    • T
      Remove the t_datamcxt field of HeapTupleData. This was introduced for · dd218ae7
      Tom Lane 提交于
      the convenience of tuptoaster.c and is no longer needed, so may as well
      get rid of some small amount of overhead.
      dd218ae7
    • T
      Modify tuptoaster's API so that it does not try to modify the passed · 40314f2d
      Tom Lane 提交于
      tuple in-place, but instead passes back an all-new tuple structure if
      any changes are needed.  This is a much cleaner and more robust solution
      for the bug discovered by Alexey Beschiokov; accordingly, revert the
      quick hack I installed yesterday.
      With this change, HeapTupleData.t_datamcxt is no longer needed; will
      remove it in a separate commit in HEAD only.
      40314f2d
  4. 20 11月, 2005 3 次提交
  5. 19 11月, 2005 6 次提交
  6. 18 11月, 2005 6 次提交
  7. 17 11月, 2005 3 次提交
    • B
      Update, add mention of user locking table before MERGE: · 84bb3876
      Bruce Momjian 提交于
      <   so duplicate checking can be easily performed.
      >   so duplicate checking can be easily performed.  It is possible to
      >   do it without a unique index if we require the user to LOCK the table
      >   before the MERGE.
      84bb3876
    • T
      make_restrictinfo() failed to attach the specified required_relids to · ccdcd196
      Tom Lane 提交于
      its result when the clause was an OR clause.  Brain fade exposed by
      example from Sebastian BÎck.
      ccdcd196
    • B
      Add batch mode, make new libpq section: · 01798a06
      Bruce Momjian 提交于
      < * Add a libpq function to support Parse/DescribeStatement capability
      < * Add PQescapeIdentifier() to libpq
      < * Prevent PQfnumber() from lowercasing unquoted the column name
      <
      <   PQfnumber() should never have been doing lowercasing, but historically
      <   it has so we need a way to prevent it
      <
      648a642,661
      >
      >
      > libpq
      >
      > 	o Add a function to support Parse/DescribeStatement capability
      > 	o Add PQescapeIdentifier()
      > 	o Prevent PQfnumber() from lowercasing unquoted the column name
      >
      > 	  PQfnumber() should never have been doing lowercasing, but
      > 	  historically it has so we need a way to prevent it
      >
      > 	o Allow query results to be automatically batched to the client
      >
      > 	  Currently, all query results are transfered to the libpq
      > 	  client before libpq makes the results available to the
      > 	  application.  This feature would allow the application to make
      > 	  use of the first result rows while the rest are transfered, or
      > 	  held on the server waiting for them to be requested by libpq.
      > 	  One complexity is that a query like SELECT 1/col could error
      > 	  out mid-way through the result set.
      01798a06
  8. 16 11月, 2005 3 次提交