1. 06 Mar, 2006 13 commits
    • 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
    • Bruce Momjian's avatar
      In psql, save history of backslash commands used in multi-line · ca8f2799
      Bruce Momjian authored
      statements before the multi-line statement, rather than inside the
      multi-line statement.
      ca8f2799
  2. 05 Mar, 2006 9 commits
  3. 04 Mar, 2006 11 commits
  4. 03 Mar, 2006 7 commits