1. 24 9月, 2002 4 次提交
  2. 23 9月, 2002 20 次提交
  3. 22 9月, 2002 4 次提交
    • T
      Move most of the error checking for foreign-key constraints out of · ac355d55
      Tom Lane 提交于
      parse analysis and into the execution code (in tablecmds.c).  This
      eliminates a lot of unreasonably complex code that needed to have two
      or more execution paths in case it was dealing with a not-yet-created
      table column vs. an already-existing one.  The execution code is always
      dealing with already-created tables and so needs only one case.  This
      also eliminates some potential race conditions (the table wasn't locked
      between parse analysis and execution), makes it easy to fix the gripe
      about wrong referenced-column names generating a misleading error message,
      and lets us easily add a dependency from the foreign-key constraint to
      the unique index that it requires the referenced table to have.  (Cf.
      complaint from Kris Jurka 12-Sep-2002 on pgsql-bugs.)
      
      Also, third try at building a deletion mechanism that is not sensitive
      to the order in which pg_depend entries are visited.  Adding the above-
      mentioned dependency exposed the folly of what dependency.c had been
      doing: it failed for cases where B depends on C while both auto-depend
      on A.  Dropping A should succeed in this case, but was failing if C
      happened to be visited before B.  It appears the only solution is two
      separate walks over the dependency tree.
      ac355d55
    • T
      Add last-ditch defense against attempts to compile datetime code with · e303a2db
      Tom Lane 提交于
      -ffast-math.
      e303a2db
    • T
      Provide an upgrade strategy for dump files containing functions declared · eb3adab5
      Tom Lane 提交于
      with OPAQUE.  CREATE LANGUAGE, CREATE TRIGGER, and CREATE TYPE will all
      accept references to functions declared with OPAQUE --- but they will
      issue a NOTICE, and will modify the function entries in pg_proc to have
      the preferred type-safe argument or result types instead of OPAQUE.
      Per recent pghackers discussions.
      eb3adab5
    • P
      Add more appropriate markup. · bc499687
      Peter Eisentraut 提交于
      bc499687
  4. 21 9月, 2002 6 次提交
  5. 20 9月, 2002 6 次提交