1. 22 Sep, 2002 7 commits
    • Tom Lane's avatar
    • Tom Lane's avatar
      I haven't seen any objections, so here is a patch. It removes "#define · fce573ae
      Tom Lane authored
      YYERROR_VERBOSE" from contrib/cube and contrib/seg, and adjusts the expected
      output accordingly. Hopefully this will consistently pass across multiple
      bison versions.
      
      Joe Conway
      fce573ae
    • Tom Lane's avatar
    • Tom Lane's avatar
      Replace pg_attribute.attisinherited with attislocal and attinhcount · c328b6dd
      Tom Lane authored
      columns, to allow more correct behavior in multiple-inheritance cases.
      Patch by Alvaro Herrera, review by Tom Lane.
      c328b6dd
    • Tom Lane's avatar
      Fix busted markup. · 634e440b
      Tom Lane authored
      634e440b
    • Tom Lane's avatar
      Bring SIMILAR TO and SUBSTRING into some semblance of conformance with · 9946b83d
      Tom Lane authored
      the SQL99 standard.  (I'm not sure that the character-class features are
      quite right, but that can be fixed later.)  Document SQL99 and POSIX
      regexps as being different features; provide variants of SUBSTRING for
      each.
      9946b83d
    • Tom Lane's avatar
      Move most of the error checking for foreign-key constraints out of · ac355d55
      Tom Lane authored
      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
  2. 21 Sep, 2002 4 commits
  3. 20 Sep, 2002 19 commits
  4. 19 Sep, 2002 2 commits
  5. 18 Sep, 2002 8 commits