Skip to content
Snippets Groups Projects
  1. Sep 12, 2001
  2. Sep 11, 2001
  3. Sep 10, 2001
  4. Sep 09, 2001
  5. Sep 08, 2001
    • Peter Eisentraut's avatar
      fix markup · 1a63ef05
      Peter Eisentraut authored
      1a63ef05
    • Peter Eisentraut's avatar
      Make the world somewhat safe for (not from) DELETE FROM pg_shadow; · c0d4d547
      Peter Eisentraut authored
      Assign the fixed user id 1 to the user created by initdb.
      A stand-alone backend will always set the user id to 1.
      (Consequently, the name of that user is no longer important.)
      
      In stand-alone mode, the user id 1 will have implicit superuser
      status, to allow repairs even if there are no users defined.
      
      Print a warning message when starting in stand-alone mode when no
      users are defined.
      
      Disallow dropping the current user and session user.
      
      Granting/revoking superuser status also grants/revokes usecatupd.
      (Previously, it would never grant it back.  This could lead to "deadlocks".)
      
      CREATE USER and CREATE GROUP will start allocating user ids at 100
      (unless explicitly specified), to prevent accidental creation of a
      superuser (plus some room for future extensions).
      c0d4d547
    • Bruce Momjian's avatar
      I've attached the fixed version of the patch below. After the · 1834987f
      Bruce Momjian authored
      discussion on pgsql-hackers (especially the frightening memory dump in
      <12273.999562219@sss.pgh.pa.us>), we decided that it is best not to
      use identifiers from an untrusted source at all.  Therefore, all
      claims of the suitability of PQescapeString() for identifiers have
      been removed.
      
      Florian Weimer
      1834987f
  6. Sep 07, 2001
    • Bruce Momjian's avatar
      Here is my much-promised patch to let people add UNIQUE constraints after · bd9b3280
      Bruce Momjian authored
      table creation time.  Big deal you say - but this patch is the basis of the
      next thing which is adding PRIMARY KEYs after table creation time.  (Which
      is currently impossible without twiddling catalogs)
      
      Rundown
      -------
      
      * I have made the makeObjectName function of analyze.c non-static, and
      exported it in analyze.h
      
      * I have included analyze.h and defrem.h into command.c, to support
      makingObjectNames and creating indices
      
      * I removed the 'case CONSTR_PRIMARY' clause so that it properly fails and
      says you can't add primary keys, rather than just doing nothing and
      reporting nothing!!!
      
      * I have modified the docs.
      
      Algorithm
      ---------
      
      * If name specified is null, search for a new valid constraint name.  I'm
      not sure if I should "lock" my generated name somehow tho - should I open
      the relation before doing this step?
      
      * Open relation in access exclusive mode
      
      * Check that the constraint does not already exist
      
      * Define the new index
      
      * Warn if they're doubling up on an existing index
      
      Christopher Kings-Lynne
      bd9b3280
    • Bruce Momjian's avatar
      ca5134e6
    • Tom Lane's avatar
      Revert treatment of NOTIFY in rules to its pre-7.1 behavior: notify will · 17c03b30
      Tom Lane authored
      occur unconditionally, even if the rule should otherwise execute
      conditionally.  This is more useful than giving an error, even though it's
      not truly the correct behavior.  Per today's pghackers discussion.
      17c03b30
    • Bruce Momjian's avatar
      Update FAQ. · b579d461
      Bruce Momjian authored
      b579d461
    • Tom Lane's avatar
      Missed a few places that referred to a compile-time limit on · e67bb7af
      Tom Lane authored
      max_connections.
      e67bb7af
    • Bruce Momjian's avatar
      Update FAQ. · 4d8ce9bb
      Bruce Momjian authored
      4d8ce9bb
    • Bruce Momjian's avatar
      Update FAQ. · 36ed0c98
      Bruce Momjian authored
      36ed0c98
  7. Sep 06, 2001
    • Peter Eisentraut's avatar
      Move the "how to write a PL call handler" parts from the CREATE LANGUAGE · 22ae53d4
      Peter Eisentraut authored
      man page to the Programmer's Guide.
      22ae53d4
    • Bruce Momjian's avatar
      PAM authentication: · 04c1f729
      Bruce Momjian authored
      > pam_strerror() should be used a few more times, rather than just saying
      > "Error!".  Also, the configure.in snippet seems wrong.  You add
      > -I$pam_prefix/include/security to $INCLUDES and then you #include
      > <security/pam_appl.h>.  This whole thing is probably unnecessary, since
      > PAM is a system library on the systems where it exists, so the headers
      > and libraries are found automatically, unlike OpenSSL and
      > Kerberos.
      
      See attached revised patch. (I'm sure the configure.in stuff can be done
      right/better, I'm just not enough of a autoconf guru to know what to
      change it to.)
      
      Dominic J. Eidson
      04c1f729
    • Bruce Momjian's avatar
      - new to_char(interval, text) · 2a34134b
      Bruce Momjian authored
       - new millisecond (ms) and microsecond (us) support
       - more robus parsing from string - used is separator checking for
         non-exact formats like to_date('2001-9-1', 'YYYY-MM-DD')
       - SGML docs are included
      
      Karel Zak
      2a34134b
    • Bruce Momjian's avatar
      Next version of patch. · 16910e44
      Bruce Momjian authored
      Now with documentation update and disabling of UTF conversion for Tcl <=8.0
      
      On Fri, 24 Aug 2001, Vsevolod Lobko wrote:
      
      > On Thu, 23 Aug 2001, Tom Lane wrote:
      >
      > > > Is this looks better?
      > >
      > > It does, but one small gripe: the lack of semicolons will probably cause
      > > pg_indent to mess up the indentation.  (I know emacs' autoindent mode
      > > will not work nicely with it, either.)  Please set up the macros so that
      > > you write
      > >
      > >                         UTF_BEGIN;
      > >                         Tcl_DStringAppend(&unknown_src, UTF_E2U(part), -1);
      > >                         UTF_END;
      > >
      > > and then I'll be happy.
      >
      > Attached revised patch
      >
      > > Your point about overhead is a good one, so I retract the gripe about
      > > using a configure switch.  But please include documentation patches to
      > > describe the configure option in the administrator's guide (installation
      > > section).
      >
      > This patch still uses configure switch for enabling feature.
      >
      > For enabling based on tcl version we have 2 posibilites:
      >  1) having feature enabled by default, but in pltcl.c check for tcl
      >     version and disable it for old versions
      >  2) enable or disable at configure time based on tcl version, but there
      >     are problem - current configure don't checks for tcl version at all
      >     and my configure skills not enought for adding this
      >
      
      Vsevolod Lobko
      16910e44
    • Tom Lane's avatar
      Fix handling of pg_type.typdefault per bug report from Dave Blasby. · 6c91eef7
      Tom Lane authored
      If there's anyone out there who's actually using datatype-defined
      default values, this will be an incompatible change in behavior ...
      but the old behavior was so broken that I doubt anyone was using it.
      6c91eef7
    • Bruce Momjian's avatar
      Overhaul ecpg manual page. · c2ed8915
      Bruce Momjian authored
      Update Italian jdbc error messages.
      c2ed8915
  8. Sep 04, 2001
Loading