1. 17 May, 2007 2 commits
  2. 16 May, 2007 2 commits
  3. 15 May, 2007 10 commits
  4. 14 May, 2007 5 commits
  5. 13 May, 2007 2 commits
  6. 12 May, 2007 4 commits
  7. 11 May, 2007 3 commits
    • Tom Lane's avatar
      Fix my oversight in enabling domains-of-domains: ALTER DOMAIN ADD CONSTRAINT · d8326119
      Tom Lane authored
      needs to check the new constraint against columns of derived domains too.
      
      Also, make it error out if the domain to be modified is used within any
      composite-type columns.  Eventually we should support that case, but it seems
      a bit painful, and not suitable for a back-patch.  For the moment just let the
      user know we can't do it.
      
      Backpatch to 8.2, which is the only released version that allows nested
      domains.  Possibly the other part should be back-patched further.
      d8326119
    • Neil Conway's avatar
      3b6afdd7
    • Tom Lane's avatar
      Support arrays of composite types, including the rowtypes of regular tables · bc8036fc
      Tom Lane authored
      and views (but not system catalogs, nor sequences or toast tables).  Get rid
      of the hardwired convention that a type's array type is named exactly "_type",
      instead using a new column pg_type.typarray to provide the linkage.  (It still
      will be named "_type", though, except in odd corner cases such as
      maximum-length type names.)
      
      Along the way, make tracking of owner and schema dependencies for types more
      uniform: a type directly created by the user has these dependencies, while a
      table rowtype or auto-generated array type does not have them, but depends on
      its parent object instead.
      
      David Fetter, Andrew Dunstan, Tom Lane
      bc8036fc
  8. 10 May, 2007 2 commits
  9. 08 May, 2007 4 commits
  10. 07 May, 2007 3 commits
  11. 05 May, 2007 3 commits
    • Magnus Hagander's avatar
      Check return code from strxfrm on Windows since it has a · 343a9a27
      Magnus Hagander authored
      non-standard way of indicating errors, so we don't try to
      allocate INT_MAX bytes to store a result in.
      343a9a27
    • Bruce Momjian's avatar
      Done: · 4835df30
      Bruce Momjian authored
      < Last updated:		Sat May  5 10:47:39 EDT 2007
      > Last updated:		Sat May  5 11:39:57 EDT 2007
      < * Flush cached query plans when the dependent objects change,
      <   when the cardinality of parameters changes dramatically, or
      > * -Flush cached query plans when the dependent objects change or
      <
      <   A more complex solution would be to save multiple plans for different
      <   cardinality and use the appropriate plan based on the EXECUTE values.
      <
      < * Track dependencies in function bodies and recompile/invalidate
      <
      <   This is particularly important for references to temporary tables
      <   in PL/PgSQL because PL/PgSQL caches query plans.  The only workaround
      <   in PL/PgSQL is to use EXECUTE.  One complexity is that a function
      <   might itself drop and recreate dependent tables, causing it to
      <   invalidate its own query plan.
      <
      < * Invalidate prepared queries, like INSERT, when the table definition
      > * -Track dependencies in function bodies and recompile/invalidate
      > * -Invalidate prepared queries, like INSERT, when the table definition
      4835df30
    • Bruce Momjian's avatar
      Move item: · dc9d3947
      Bruce Momjian authored
      < * Invalidate prepared queries, like INSERT, when the table definition
      <   is altered
      >
      > * Invalidate prepared queries, like INSERT, when the table definition
      >   is altered
      dc9d3947