1. 04 Oct, 2003 9 commits
  2. 03 Oct, 2003 7 commits
  3. 02 Oct, 2003 9 commits
  4. 01 Oct, 2003 2 commits
  5. 30 Sep, 2003 4 commits
  6. 29 Sep, 2003 9 commits
    • Tom Lane's avatar
      Adjust btree index build procedure so that the btree metapage looks · e33f205a
      Tom Lane authored
      invalid (has the wrong magic number) until the build is entirely
      complete.  This turns out to cost no additional writes in the normal
      case, since we were rewriting the metapage at the end of the process
      anyway.  In normal scenarios there's no real gain in security, because
      a failed index build would roll back the transaction leaving an unused
      index file, but for rebuilding shared system indexes this seems to add
      some useful protection.
      e33f205a
    • Bruce Momjian's avatar
      Release updates by Tom. · 6b4caf53
      Bruce Momjian authored
      6b4caf53
    • Tom Lane's avatar
      Improve context display for failures during COPY IN, as recently · 0e319c7a
      Tom Lane authored
      discussed on pghackers.
      0e319c7a
    • Bruce Momjian's avatar
      Update Jan's completed item. · 34c64955
      Bruce Momjian authored
      34c64955
    • Bruce Momjian's avatar
      Remove, already done: · 7bc0678e
      Bruce Momjian authored
      < 	o Fixed PL/Tcl's spi_prepare to accept full qualified type names in
      < 	  the parameter type list
      7bc0678e
    • Bruce Momjian's avatar
      Update HISTORY for 7.4. · 8dd05737
      Bruce Momjian authored
      Neil Conway
      8dd05737
    • Bruce Momjian's avatar
      Add: · fb72fc8b
      Bruce Momjian authored
      > 	o Fixed PL/Tcl's spi_prepare to accept full qualified type names in
      > 	  the parameter type list
      fb72fc8b
    • Jan Wieck's avatar
      Fixed type lookup in spi_prepare for possible qualified · 36f15dde
      Jan Wieck authored
      type name specification.
      
      Jan
      36f15dde
    • Bruce Momjian's avatar
      The brackets aren't put on the CHECK constraints properly. · 2f98ece4
      Bruce Momjian authored
      Before patch:
      
      test=# select pg_get_constraintdef(oid) from pg_constraint;
                                             pg_get_constraintdef
      -------------------------------------------------------------------------------------------------
        CHECK (VALUE >= 0)
        CHECK ((((a)::text = 'asdf'::text) OR ((a)::text = 'fdsa'::text)) OR
      ((a)::text = 'dfd'::text))
        PRIMARY KEY (b)
        FOREIGN KEY (a) REFERENCES test2(b)
        UNIQUE (b)
      (5 rows)
      
      test=# select pg_get_constraintdef(oid, true) from pg_constraint;
                                      pg_get_constraintdef
      -----------------------------------------------------------------------------------
        CHECK VALUE >= 0
        CHECK a::text = 'asdf'::text OR a::text = 'fdsa'::text OR a::text =
      'dfd'::text
        PRIMARY KEY (b)
        FOREIGN KEY (a) REFERENCES test2(b)
        UNIQUE (b)
      (5 rows)
      
      After patch:
      
      test=# select pg_get_constraintdef(oid) from pg_constraint;
                                             pg_get_constraintdef
      -------------------------------------------------------------------------------------------------
        CHECK (VALUE >= 0)
        CHECK ((((a)::text = 'asdf'::text) OR ((a)::text = 'fdsa'::text)) OR
      ((a)::text = 'dfd'::text))
        PRIMARY KEY (b)
        FOREIGN KEY (a) REFERENCES test2(b)
        UNIQUE (b)
      (5 rows)
      
      test=# select pg_get_constraintdef(oid, true) from pg_constraint;
                                      pg_get_constraintdef
      -----------------------------------------------------------------------------------
        CHECK (VALUE >= 0)
      
      `  CHECK (a::text = 'asdf'::text OR a::text = 'fdsa'::text OR a::text =
      'dfd'::text)
        PRIMARY KEY (b)
        FOREIGN KEY (a) REFERENCES test2(b)
        UNIQUE (b)
      (5 rows)
      
      It's important that those brackets are there to (a) match all other
      constraints and (b) so that people can just copy and paste them and it
      will work as SQL.
      
      
      Christopher Kings-Lynne
      2f98ece4