1. 10 Mar, 2006 5 commits
  2. 09 Mar, 2006 1 commit
  3. 08 Mar, 2006 7 commits
  4. 07 Mar, 2006 9 commits
  5. 06 Mar, 2006 18 commits
    • Bruce Momjian's avatar
      SGML typo fix. · 135fe189
      Bruce Momjian authored
      135fe189
    • Bruce Momjian's avatar
      Default to ON for 8.2, as announced in the release notes: · d694bd81
      Bruce Momjian authored
      	escape_string_warning = on
      d694bd81
    • Bruce Momjian's avatar
      Done though the second is default so off in 8.2: · 1c021447
      Bruce Momjian authored
      > * -Eventually enable escape_string_warning and standard_conforming_strings
      1c021447
    • Bruce Momjian's avatar
      Attached is the new patch. To summarize: · d69b1632
      Bruce Momjian authored
         - new function justify_interval(interval)
         - modified function justify_hours(interval)
         - modified function justify_days(interval)
      
      These functions are defined to meet the requirements as discussed in
      this thread.  Specifically:
      
         - justify_hours makes certain the sign bit on the hours
           matches the sign bit on the days.  It only checks the
           sign bit on the days, and not the months, when
           determining if the hours should be positive or negative.
           After the call, -24 < hours < 24.
      
         - justify_days makes certain the sign bit on the days
           matches the sign bit on the months.  It's behavior does
           not depend on the hours, nor does it modify the hours.
           After the call, -30 < days < 30.
      
         - justify_interval makes sure the sign bits on all three
           fields months, days, and hours are all the same.  After
           the call, -24 < hours < 24 AND -30 < days < 30.
      
      Mark Dilger
      d69b1632
    • Bruce Momjian's avatar
      Enable standard_conforming_strings to be turned on. · 19c21d11
      Bruce Momjian authored
      Kevin Grittner
      19c21d11
    • Bruce Momjian's avatar
      a9c1047e
    • Bruce Momjian's avatar
      * Stephen Frost (sfrost@snowman.net) wrote: · 526f773d
      Bruce Momjian authored
      >   I've now tested this patch at home w/ 8.2HEAD and it seems to fix the
      >   bug.  I plan on testing it under 8.1.2 at work tommorow with
      >   mod_auth_krb5, etc, and expect it'll work there.  Assuming all goes
      >   well and unless someone objects I'll forward the patch to -patches.
      >   It'd be great to have this fixed as it'll allow us to use Kerberos to
      >   authenticate to phppgadmin and other web-based tools which use
      >   Postgres.
      
        While playing with this patch under 8.1.2 at home I discovered a
        mistake in how I manually applied one of the hunks to fe-auth.c.
        Basically, the base code had changed and so the patch needed to be
        modified slightly.  This is because the code no longer either has a
        freeable pointer under 'name' or has 'name' as NULL.
      
        The attached patch correctly frees the string from pg_krb5_authname
        (where it had been strdup'd) if and only if pg_krb5_authname returned
        a string (as opposed to falling through and having name be set using
        name = pw->name;).  Also added a comment to this effect.
      
      Backpatch to 8.1.X.
      
      Stephen Frost
      526f773d
    • Bruce Momjian's avatar
      This patch adds native LDAP auth, for those platforms that don't have · 357cc01e
      Bruce Momjian authored
      PAM (such as Win32, but also unixen without PAM). On Unix, uses
      OpenLDAP. On win32, uses the builin WinLDAP library.
      
      Magnus Hagander
      357cc01e
    • Bruce Momjian's avatar
      Add: · ebdc3582
      Bruce Momjian authored
      > 	o Prevent parent tables from altering or dropping constraints
      > 	  like CHECK that are inherited by child tables
      >
      > 	  Dropping constraints should only be possible with CASCADE.
      >
      ebdc3582
    • Bruce Momjian's avatar
      Update item. · 2abf8c77
      Bruce Momjian authored
      2abf8c77
    • Bruce Momjian's avatar
      Add for Win32: · d2eb1d12
      Bruce Momjian authored
      > 	o Check WSACancelBlockingCall() for interrupts (win32intr)
      >
      d2eb1d12
    • Bruce Momjian's avatar
      07408e84
    • Bruce Momjian's avatar
      Add for ecpg: · e166574a
      Bruce Momjian authored
      > 	o Add COPY TO STDIN / STDOUT handling
      e166574a
    • Bruce Momjian's avatar
      Fix psql history handling so 'execute' backslash commands (\g) · 5e3bcac1
      Bruce Momjian authored
      remain as part of the multi-line query.
      5e3bcac1
    • Bruce Momjian's avatar
      Update: · 2f01703f
      Bruce Momjian authored
      < * %Disallow changing sequence characteristics like INCREMENT for SERIAL columns
      > * %Disallow ALTER SEQUENCE changes for SERIAL sequences because pg_dump
      >   does not dump the changes
      2f01703f
    • Bruce Momjian's avatar
      Add: · 1ad12631
      Bruce Momjian authored
      > * %Disallow changing sequence characteristics like INCREMENT for SERIAL columns
      1ad12631
    • Bruce Momjian's avatar
      4c63b1f8
    • Bruce Momjian's avatar
      in the docs, the function "ascii(text)" is described as · 7d40942a
      Bruce Momjian authored
      returning "ASCII code of the first character of the argument"
      
      (see
      http://www.postgresql.org/docs/8.1/interactive/functions-string.html,
      Table  9-6. "Other String Functions").
      
      Presumably this should read "ASCII code of the first byte of the
      argument",
      which is what is returned when the argument is a multi-byte character
      (although then with UTF-8 at least that might not necessarily be an
      ASCII
      code).
      
      Ian Barwick
      7d40942a