1. 30 Jun, 2005 1 commit
    • Tom Lane's avatar
      Improve the checkpoint signaling mechanism so that the bgwriter can tell · 401de9c8
      Tom Lane authored
      the difference between checkpoints forced due to WAL segment consumption
      and checkpoints forced for other reasons (such as CREATE DATABASE).  Avoid
      generating 'checkpoints are occurring too frequently' messages when the
      checkpoint wasn't caused by WAL segment consumption.  Per gripe from
      Chris K-L.
      401de9c8
  2. 29 Jun, 2005 5 commits
  3. 28 Jun, 2005 7 commits
  4. 27 Jun, 2005 8 commits
    • Bruce Momjian's avatar
      Done: · 977530d8
      Bruce Momjian authored
      > * -Add concurrency to GIST
      977530d8
    • Teodor Sigaev's avatar
      Concurrency for GiST · e8cab5fe
      Teodor Sigaev authored
      - full concurrency for insert/update/select/vacuum:
              - select and vacuum never locks more than one page simultaneously
              - select (gettuple) hasn't any lock across it's calls
              - insert never locks more than two page simultaneously:
                      - during search of leaf to insert it locks only one page
                        simultaneously
                      - while walk upward to the root it locked only parent (may be
                        non-direct parent) and child. One of them X-lock, another may
                        be S- or X-lock
      - 'vacuum full' locks index
      - improve gistgetmulti
      - simplify XLOG records
      
      Fix bug in index_beginscan_internal: LockRelation may clean
        rd_aminfo structure, so move GET_REL_PROCEDURE after LockRelation
      e8cab5fe
    • Tom Lane's avatar
      Modify pg_dump to assume that a check constraint is inherited if its · c3be085a
      Tom Lane authored
      name matches the name of any parent-table constraint, without looking
      at the constraint text.  This is a not-very-bulletproof workaround for
      the problem exhibited by Berend Tober last month.  We really ought to
      record constraint inheritance status in pg_constraint, but it's looking
      like that may not get done for 8.1 --- and even if it does, we will
      need this kluge for dumping from older servers.
      c3be085a
    • Bruce Momjian's avatar
      Done: · fc722403
      Bruce Momjian authored
      > * -Remove kerberos4 from source tree
      fc722403
    • Neil Conway's avatar
      Remove support for Kerberos V4. It seems no one is using this, it has · a159ad30
      Neil Conway authored
      some security issues, and upstream has declared it "dead". Patch from
      Magnus Hagander, minor editorialization from Neil Conway.
      a159ad30
    • Bruce Momjian's avatar
      Done: · a051da02
      Bruce Momjian authored
      > 	o -Allow PL/pgSQL EXECUTE query_var INTO record_var;
      a051da02
    • Tom Lane's avatar
      Remove the << >> &< and &> operators for contrib/cube, which were · dcf2e1c8
      Tom Lane authored
      wrong, but nobody noticed because they were also useless.
      dcf2e1c8
    • Tom Lane's avatar
      Adjust contrib/seg &< and &> operators so that r-tree indexing logic · 54c80a34
      Tom Lane authored
      works properly for 1-D comparisons.  Fix some other errors such as
      bogus commutator specifications.
      54c80a34
  5. 26 Jun, 2005 5 commits
  6. 25 Jun, 2005 9 commits
    • Tom Lane's avatar
      Fix a couple of items that should be declared Oid not int. Purely · c96375a3
      Tom Lane authored
      cosmetic at the moment, but someday Oid might be 64 bits ...
      c96375a3
    • Tom Lane's avatar
      Remove forced CHECKPOINT in regression tests --- redundant now that · ca1d4eb7
      Tom Lane authored
      CREATE DATABASE does one internally.
      ca1d4eb7
    • Tom Lane's avatar
      Force a checkpoint before committing a CREATE DATABASE command. This · fbcbc5d0
      Tom Lane authored
      should fix the recent reports of "index is not a btree" failures,
      as well as preventing a more obscure race condition involving changes
      to a template database just after copying it with CREATE DATABASE.
      fbcbc5d0
    • Tom Lane's avatar
      Fix ancient memory leak in index_create(): RelationInitIndexAccessInfo · 3acca18d
      Tom Lane authored
      was being called twice in normal operation, leading to a leak of one set
      of relcache subsidiary info.  Per report from Jeff Gold.
      3acca18d
    • Bruce Momjian's avatar
      Add: · 252600fa
      Bruce Momjian authored
      > 	o Pass arrays natively instead of as text between plperl and postgres
      > 	o Add support for polymorphic arguments and return types to plperl
      252600fa
    • Bruce Momjian's avatar
      Update: · 557a978b
      Bruce Momjian authored
      < * Allow per-user, per-group quotas per-tablespace
      > * Allow per-tablespace quotas
      557a978b
    • Bruce Momjian's avatar
      Update: · d08149d7
      Bruce Momjian authored
      < * Allow per-user and per-tablespaces quotas
      > * Allow per-user, per-group quotas per-tablespace
      d08149d7
    • Bruce Momjian's avatar
      Add: · 886c8a54
      Bruce Momjian authored
      > * Allow per-user and per-tablespaces quotas
      886c8a54
    • Bruce Momjian's avatar
      Add item: · 66911180
      Bruce Momjian authored
      > * Add NUMERIC division operator that doesn't round?
      >
      >   Currently NUMERIC _rounds_ the result to the specified precision.
      >   This means division can return a result that multiplied by the
      >   divisor is greater than the dividend, e.g. this returns a value > 10:
      >
      >     SELECT (10::numeric(2,0) / 6::numeric(2,0))::numeric(2,0) * 6;
      >
      >   The positive modulus result returned by NUMERICs might be considered
      >   inaccurate, in one sense.
      >
      66911180
  7. 24 Jun, 2005 5 commits
    • Bruce Momjian's avatar
      Add desciption for terminate: · f3dbacab
      Bruce Momjian authored
      >
      >   Currently SIGTERM of a backend can lead to lock table corruption.
      >
      f3dbacab
    • Tom Lane's avatar
      Extend r-tree operator classes to handle Y-direction tests equivalent · b90f8f20
      Tom Lane authored
      to the existing X-direction tests.  An rtree class now includes 4 actual
      2-D tests, 4 1-D X-direction tests, and 4 1-D Y-direction tests.
      This involved adding four new Y-direction test operators for each of
      box and polygon; I followed the PostGIS project's lead as to the names
      of these operators.
      NON BACKWARDS COMPATIBLE CHANGE: the poly_overleft (&<) and poly_overright
      (&>) operators now have semantics comparable to box_overleft and box_overright.
      This is necessary to make r-tree indexes work correctly on polygons.
      Also, I changed circle_left and circle_right to agree with box_left and
      box_right --- formerly they allowed the boundaries to touch.  This isn't
      actually essential given the lack of any r-tree opclass for circles, but
      it seems best to sync all the definitions while we are at it.
      b90f8f20
    • Tatsuo Ishii's avatar
      unbreak unicode/utf8 test · 39f3c5d3
      Tatsuo Ishii authored
      39f3c5d3
    • Tom Lane's avatar
      Remove overspecification of precision of CURRENT_TIMESTAMP, LOCALTIMESTAMP, · db53fa6d
      Tom Lane authored
      CURRENT_TIME, and LOCALTIME: now they just produce "timestamptz" not
      "timestamptz(6)", etc.  This makes the behavior more consistent with our
      choice to not assign a specific default precision to column datatypes.
      It should also save a few cycles at runtime due to not having to invoke
      the round-to-given-precision functions.
      I also took the opportunity to translate CURRENT_TIMESTAMP into "now()"
      instead of an invocation of the timestamptz input converter --- this should
      save a few cycles too.
      db53fa6d
    • Tatsuo Ishii's avatar
      Allow direct conversion between EUC_JP and SJIS to improve · e2d088de
      Tatsuo Ishii authored
      performance. patches submitted by Atsushi Ogawa.
      e2d088de