1. 25 Apr, 2006 7 commits
    • Bruce Momjian's avatar
      Add RESET CONNECTION, to reset all aspects of a session. · 6378fdd9
      Bruce Momjian authored
      Hans-J?rgen Sch?nig
      6378fdd9
    • Bruce Momjian's avatar
      Update inheritance constraint items: · 11fbdf2f
      Bruce Momjian authored
      < 	o %Prevent child tables from altering or dropping constraints
      <           like CHECK that were inherited from the parent table
      < 	  like CHECK that are inherited by child tables
      <
      < 	  Dropping constraints should only be possible with CASCADE.
      <
      > 	  like CHECK that are inherited by child tables unless CASCADE
      > 	  is used
      > 	o %Prevent child tables from altering or dropping constraints
      >           like CHECK that were inherited from the parent table
      11fbdf2f
    • Tatsuo Ishii's avatar
      Fix bug reported by Michael Fuhr on Sun, 23 Apr 2006 09:52:31 -0600 · a34fd959
      Tatsuo Ishii authored
      (pgsql-committers@postgresql.org).
      a34fd959
    • Bruce Momjian's avatar
      Done: · b532c86f
      Bruce Momjian authored
      > * -Add transaction_timestamp(), statement_timestamp(), clock_timestamp()
      b532c86f
    • Bruce Momjian's avatar
      Add statement_timestamp(), clock_timestamp(), and · e6004f01
      Bruce Momjian authored
      transaction_timestamp() (just like now()).
      
      Also update statement_timeout() to mention it is statement arrival time
      that is measured.
      
      Catalog version updated.
      e6004f01
    • Bruce Momjian's avatar
      Word wrap entry · f04080d7
      Bruce Momjian authored
      f04080d7
    • Bruce Momjian's avatar
      Update SQL-standard INTERVAL item: · c880f9ae
      Bruce Momjian authored
              o Support ISO INTERVAL syntax if units cannot be determined from
                the string, and are supplied after the string
      
                The SQL standard states that the units after the string specify
                the units of the string, e.g. INTERVAL '2' MINUTE should
                return '00:02:00'.  The current behavior has the units
                restrict the interval value to the specified unit or unit range,
                INTERVAL '70' SECOND returns '00:00:10'.
      
                For syntax that isn't uniquely ISO or PG syntax, like '1' or
                '1:30', treat as ISO if there is a range specification clause,
                and as PG if there no clause is present, e.g. interpret
                '1:30' MINUTE TO SECOND as '1 minute 30 seconds', and
                interpret '1:30' as '1 hour, 30 minutes'.
      
                This makes common cases like SELECT INTERVAL '1' MONTH
                SQL-standard results.  The SQL standard supports a limited
                number of unit combinations and doesn't support unit names
                in the string.  The PostgreSQL syntax is more flexible in
                the range of units supported, e.g. PostgreSQL supports
                '1 year 1 hour', while the SQL standard does not.
      c880f9ae
  2. 24 Apr, 2006 11 commits
  3. 23 Apr, 2006 4 commits
    • Bruce Momjian's avatar
      Add: · 109d0aeb
      Bruce Momjian authored
      < * -Eventually enable escape_string_warning and standard_conforming_strings
      > * -Enable escape_string_warning and standard_conforming_strings
      > * Make standard_conforming_strings the default in 8.3?
      >
      >   When this is done, backslash-quote should be prohibited in non-E''
      >   strings because of possible confusion over how such strings treat
      >   backslashes.  Basically, '' is always safe for a literal single
      >   quote, while \' might or might not be based on the backslash
      >   handling rules.
      >
      109d0aeb
    • Bruce Momjian's avatar
      Removes or minimizes some documentation mentions of backward · efe3de07
      Bruce Momjian authored
      compatibility for release 7.2 and earlier.  I have not altered any
      mentions of release 7.3 or later.  The release notes were not modified,
      so the changes are still documented, just not in the main docs.
      efe3de07
    • Tatsuo Ishii's avatar
      Add pgrowlocks · 4799cd7f
      Tatsuo Ishii authored
      4799cd7f
    • Tatsuo Ishii's avatar
  4. 22 Apr, 2006 7 commits
  5. 21 Apr, 2006 3 commits
  6. 20 Apr, 2006 3 commits
  7. 19 Apr, 2006 5 commits
    • Tom Lane's avatar
      Recognize __ppc64__, which seems to be Apple's spelling of the predefined · cc7eab38
      Tom Lane authored
      symbol for PPC64 hardware.  I hadn't known that Apple supported PPC64 at
      all, but darn if there aren't 64-bit variant libraries in OS X as well
      as support in their gcc.
      cc7eab38
    • Bruce Momjian's avatar
      Add detail: · 19fe9a90
      Bruce Momjian authored
      < 	  encoding.
      > 	  encoding.  This requires using mblen() to determine if the
      > 	  backslash is inside or outside a multi-byte sequence.
      19fe9a90
    • Bruce Momjian's avatar
      Add: · ce8c6aa7
      Bruce Momjian authored
      >
      > 	o Add new version of PQescapeString() that doesn't double backslashes
      > 	  that are part of a client-only multibyte sequence
      >
      > 	  Single-quote is not a valid byte in any supported client-only
      > 	  encoding.
      >
      > 	o Add new version of PQescapeString() that doesn't double
      > 	  backslashes when standard_conforming_strings is true and
      > 	  non-E strings are used
      ce8c6aa7
    • Bruce Momjian's avatar
      Fix problem that sscanf(buf, "%d", &val) eats leading white space, but · 5d096d01
      Bruce Momjian authored
      our to_* functions were not handling that.
      5d096d01
    • Tom Lane's avatar
      Remove use of lorder and tsort while building static libraries. There's · 04ca4caa
      Tom Lane authored
      no evidence that any currently-supported platform needs this, and good
      reason to think that any platform that did need it couldn't use the static
      libraries anyway --- libpq, at least, has circular references.  Removing
      the code shuts up tsort warnings about the circular references on some
      platforms.
      04ca4caa