1. 15 Mar, 2005 2 commits
    • Bruce Momjian's avatar
      Update Win32 item: · d5bc2387
      Bruce Momjian authored
      <         o Disallow encodings like UTF8 which PostgreSQL supports
      <           but the operating system does not (already disallowed by
      < 	  pginstaller)
      >         o Add support for Unicode
      < 	  To fix UTF8, the data needs to be converted to UTF16 and then
      < 	  the Win32 wcscoll() can be used, and perhaps other functions
      > 	  To fix this, the data needs to be converted to/from UTF16/UTF8
      >           so the Win32 wcscoll() can be used, and perhaps other functions
      < 	  locales but provides no ordering.
      <
      > 	  locales but provides no ordering or character set classes.
      d5bc2387
    • Bruce Momjian's avatar
      Clean up win1252 documentation. Mention how we determine the number of · 17c8276d
      Bruce Momjian authored
      bytes/character for each encoding.
      17c8276d
  2. 14 Mar, 2005 14 commits
  3. 13 Mar, 2005 21 commits
  4. 12 Mar, 2005 3 commits
    • Tom Lane's avatar
      When cloning template0 (or other fully-frozen databases), set the new · 78a572bf
      Tom Lane authored
      database's datallowconn and datfrozenxid to the current transaction ID
      instead of copying the source database's values.  This is OK because we
      assume the source DB contains no normal transaction IDs whatsoever.
      This keeps VACUUM from immediately starting to complain about unvacuumed
      databases in the situation where we are more than 2 billion transactions
      out from the XID stamp of template0.  Per discussion with Milen Radev
      (although his complaint turned out to be due to something else, but the
      problem is real anyway).
      78a572bf
    • Tom Lane's avatar
      Fix ALTER DATABASE RENAME to allow the operation if user is a superuser · c7bbe994
      Tom Lane authored
      who for some reason isn't marked usecreatedb.  Per report from Alexander
      Pravking.  Also fix sloppy coding in have_createdb_privilege().
      c7bbe994
    • Tom Lane's avatar
      Adjust the API for aggregate function calls so that a C-coded function · fa5e4401
      Tom Lane authored
      can tell whether it is being used as an aggregate or not.  This allows
      such a function to avoid re-pallocing a pass-by-reference transition
      value; normally it would be unsafe for a function to scribble on an input,
      but in the aggregate case it's safe to reuse the old transition value.
      Make int8inc() do this.  This gets a useful improvement in the speed of
      COUNT(*), at least on narrow tables (it seems to be swamped by I/O when
      the table rows are wide).  Per a discussion in early December with
      Neil Conway.  I also fixed int_aggregate.c to check this, thereby
      turning it into something approaching a supportable technique instead
      of being a crude hack.
      fa5e4401