1. 19 2月, 2007 6 次提交
  2. 18 2月, 2007 5 次提交
    • B
      aa728d5f
    • B
      Update wording: · 9f6ed2f4
      Bruce Momjian 提交于
      <   Currently, ALTER USER and ALTER DATABASE support per-user and
      >   Currently ALTER USER and ALTER DATABASE support per-user and
      < 	  Currently, subtracting one date from another that crosses a
      > 	  Currently subtracting one date from another that crosses a
      <   Currently, SQL-language functions can only refer to parameters via $1, etc
      >   Currently SQL-language functions can only refer to dollar parameters,
      >   e.g. $1
      <   Currently, queries prepared via the libpq API are planned on first
      >   Currently queries prepared via the libpq API are planned on first
      < 	  Currently, SET <tab> causes a database lookup to check all
      > 	  Currently SET <tab> causes a database lookup to check all
      < 	  Currently, all statement results are transferred to the libpq
      > 	  Currently all statement results are transferred to the libpq
      9f6ed2f4
    • B
      Add: · 0e461f27
      Bruce Momjian 提交于
      * Allow SQL-language functions to reference parameters by parameter name
      
        Currently SQL-language functions can only refer to parameters via $1, etc
      0e461f27
    • B
      Update "Conflicting lock modes" to show as conflict, add · 9b9cd9c2
      Bruce Momjian 提交于
      current/requested headings, add link to table from text.
      9b9cd9c2
    • T
      Add code so that when COPY_PARSE_PLAN_TREES is defined, the copy and · 49451ae0
      Tom Lane 提交于
      equal functions are checked for raw parse trees as well as post-analysis
      trees.  This was never very important before, but the upcoming plan cache
      control module will need to be able to do copyObject() on raw parse trees.
      49451ae0
  3. 17 2月, 2007 15 次提交
  4. 16 2月, 2007 12 次提交
    • A
      Fix the timestamptz test problem, by moving the tests that use the · 7f1d68a4
      Alvaro Herrera 提交于
      timestamp_tbl table into the timestamp test.  Also, restore a test that
      used to exist as a valid test in the timestamptz test.
      7f1d68a4
    • P
      Fix // comment · 89b18bdd
      Peter Eisentraut 提交于
      89b18bdd
    • P
      Add stdint.h include · cf3aeb2f
      Peter Eisentraut 提交于
      cf3aeb2f
    • P
    • B
      Remove extra character erroneously added. · bb0a8a3a
      Bruce Momjian 提交于
      bb0a8a3a
    • B
      Remove tabs from SGML files to help tag alingment and improve · 4ab7ea5a
      Bruce Momjian 提交于
      detection of tabs are added in the future.
      4ab7ea5a
    • T
      Fix another problem in 8.2 changes that allowed "one-time" qual conditions to · 7ea758b0
      Tom Lane 提交于
      be checked at plan levels below the top; namely, we have to allow for Result
      nodes inserted just above a nestloop inner indexscan.  Should think about
      using the general Param mechanism to pass down outer-relation variables, but
      for the moment we need a back-patchable solution.  Per report from Phil Frost.
      7ea758b0
    • B
      Add two new format fields for use with to_char(), to_date() and · 4ebb0cf9
      Bruce Momjian 提交于
      to_timestamp():
          - ID for day-of-week
          - IDDD for day-of-year
      
      This makes it possible to convert ISO week dates to and from text
      fully represented in either week ('IYYY-IW-ID') or day-of-year
      ('IYYY-IDDD') format.
      
      I have also added an 'isoyear' field for use with extract / date_part.
      
      Brendan Jurd
      4ebb0cf9
    • B
      SSL improvements: · c7b08050
      Bruce Momjian 提交于
      	o read global SSL configuration file
      	o add GUC "ssl_ciphers" to control allowed ciphers
      	o add libpq environment variable PGSSLKEY to control SSL hardware keys
      
      Victor B. Wagner
      c7b08050
    • A
      Remove useless database name from bootstrap argument processing (including · 68046a20
      Alvaro Herrera 提交于
      startup and bgwriter processes), and the -y flag.  It's not used anywhere.
      68046a20
    • T
      Restructure code that is responsible for ensuring that clauseless joins are · 6bef118b
      Tom Lane 提交于
      considered when it is necessary to do so because of a join-order restriction
      (that is, an outer-join or IN-subselect construct).  The former coding was a
      bit ad-hoc and inconsistent, and it missed some cases, as exposed by Mario
      Weilguni's recent bug report.  His specific problem was that an IN could be
      turned into a "clauseless" join due to constant-propagation removing the IN's
      joinclause, and if the IN's subselect involved more than one relation and
      there was more than one such IN linking to the same upper relation, then the
      only valid join orders involve "bushy" plans but we would fail to consider the
      specific paths needed to get there.  (See the example case added to the join
      regression test.)  On examining the code I wonder if there weren't some other
      problem cases too; in particular it seems that GEQO was defending against a
      different set of corner cases than the main planner was.  There was also an
      efficiency problem, in that when we did realize we needed a clauseless join
      because of an IN, we'd consider clauseless joins against every other relation
      whether this was sensible or not.  It seems a better design is to use the
      outer-join and in-clause lists as a backup heuristic, just as the rule of
      joining only where there are joinclauses is a heuristic: we'll join two
      relations if they have a usable joinclause *or* this might be necessary to
      satisfy an outer-join or IN-clause join order restriction.  I refactored the
      code to have just one place considering this instead of three, and made sure
      that it covered all the cases that any of them had been considering.
      
      Backpatch as far as 8.1 (which has only the IN-clause form of the disease).
      By rights 8.0 and 7.4 should have the bug too, but they accidentally fail
      to fail, because the joininfo structure used in those releases preserves some
      memory of there having once been a joinclause between the inner and outer
      sides of an IN, and so it leads the code in the right direction anyway.
      I'll be conservative and not touch them.
      6bef118b
    • A
      Restructure autovacuum in two processes: a dummy process, which runs · 18206509
      Alvaro Herrera 提交于
      continuously, and requests vacuum runs of "autovacuum workers" to postmaster.
      The workers do the actual vacuum work.  This allows for future improvements,
      like allowing multiple autovacuum jobs running in parallel.
      
      For now, the code keeps the original behavior of having a single autovac
      process at any time by sleeping until the previous worker has finished.
      18206509
  5. 15 2月, 2007 2 次提交