1. 14 May, 2007 3 commits
    • Tom Lane's avatar
      Prevent RevalidateCachedPlan from making any permanent change in · fd53a67d
      Tom Lane authored
      ActiveSnapshot.  Having it affect ActiveSnapshot only in the unusual
      case of needing to replan seems a bad idea, and there's also the problem
      that the created snap might be in a relatively short-lived context, as
      noted by Jan Wieck.  Also, there's no need to force a new snap at all
      unless we are called with no snap currently set, which is an unusual
      case in itself.
      fd53a67d
    • Alvaro Herrera's avatar
      Report all dependent objects to the server log when a shared object is dropped, · 689dea42
      Alvaro Herrera authored
      and only a truncated log of the objects in the current database to the client.
      Also, instead of reporting object counts for all databases on which the user
      might own objects, report only as many as fit in the predefined line count.
      
      This is to avoid flooding the client when the user owns too many objects,
      which could cause problems.
      
      Per report from Ed L. on April 4th and subsequent discussion.
      689dea42
    • Bruce Momjian's avatar
      ed9a31b8
  2. 13 May, 2007 2 commits
  3. 12 May, 2007 4 commits
  4. 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
  5. 10 May, 2007 2 commits
  6. 08 May, 2007 4 commits
  7. 07 May, 2007 3 commits
  8. 05 May, 2007 9 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
    • Bruce Momjian's avatar
      Done: · b573fec8
      Bruce Momjian authored
      > 	o -Allow multiple vacuums so large tables do not starve small
      b573fec8
    • Bruce Momjian's avatar
      Wording update to FAQ_DEV.. · aec9dc0e
      Bruce Momjian authored
      aec9dc0e
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      6488275b
    • Bruce Momjian's avatar
      1b57f0e3
    • Bruce Momjian's avatar
      Done: · 71f8127b
      Bruce Momjian authored
      > * -Allow ORDER BY ... LIMIT # to select high/low value without sort or
      <
      <   Right now, if no index exists, ORDER BY ... LIMIT # requires we sort
      <   all values to return the high/low value.  Instead The idea is to do a
      <   sequential scan to find the high/low value, thus avoiding the sort.
      <   MIN/MAX already does this, but not for LIMIT > 1.
      <
      71f8127b
  9. 04 May, 2007 6 commits
  10. 03 May, 2007 4 commits