1. 22 11月, 2005 8 次提交
  2. 21 11月, 2005 1 次提交
    • 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
  3. 20 11月, 2005 2 次提交
  4. 19 11月, 2005 1 次提交
    • T
      Change array_push and array_cat so that they retain the lower bound of · 1e9a1a70
      Tom Lane 提交于
      the array (for array_push) or higher-dimensional array (for array_cat)
      rather than decrementing it as before.  This avoids generating lower
      bounds other than one for any array operation within the SQL spec.  Per
      recent discussion.
      Interestingly, this seems to have been the original behavior, because
      while updating the docs I noticed that a large fraction of relevant
      examples were *wrong* for the old behavior and are now right.  Is it
      worth correcting this in the back-branch docs?
      1e9a1a70
  5. 18 11月, 2005 2 次提交
  6. 17 11月, 2005 2 次提交
    • 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
    • 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
  7. 16 11月, 2005 3 次提交
  8. 08 11月, 2005 1 次提交
  9. 05 11月, 2005 6 次提交
  10. 04 11月, 2005 1 次提交
  11. 03 11月, 2005 1 次提交
  12. 02 11月, 2005 3 次提交
  13. 01 11月, 2005 2 次提交
  14. 31 10月, 2005 1 次提交
  15. 30 10月, 2005 1 次提交
  16. 29 10月, 2005 2 次提交
  17. 28 10月, 2005 1 次提交
  18. 27 10月, 2005 2 次提交
    • B
      Update: · bc93b374
      Bruce Momjian 提交于
      < 	o Allow ALTER TABLE RENAME CONSTRAINT
      > 	o Add ALTER TABLE RENAME CONSTRAINT, update index name also
      bc93b374
    • B
      Add: · befc607d
      Bruce Momjian 提交于
      > 	o Have ALTER INDEX update the name of a constraint using that index
      > 	o Allow ALTER TABLE RENAME CONSTRAINT
      befc607d