1. 16 11月, 2001 2 次提交
  2. 21 10月, 2001 1 次提交
  3. 20 10月, 2001 1 次提交
  4. 13 10月, 2001 1 次提交
  5. 01 10月, 2001 1 次提交
    • B
      > > > > > - PostgreSQL requires to be compiled with --enable-multibyte · 03489512
      Bruce Momjian 提交于
      > > > > >   and --enable-unicode-convertion if it ought to work correctly
      > > > > >   with Tcl/Tk >= 8.1 (client or server side).
      > > > > >
      > > > > > - PL/Tcl needs to be changed to use pg_do_encoding_conversion
      > > > > >   if it runs on a Tcl version >= 8.1 .
      > > >
      > > > > I'll do pl/tcl part in the next version of patch. Using this approach we
      > > > > can eliminate overhead for databases in UNICODE.
      > > >
      > > > Any progress on this?  I'd prefer to get rid of this --enable-pltcl-utf
      > > > option before release.
      > >
      > > Done
      > >
      > > Next version removes --enable-pltcl-utf switch and enables embedded
      > > utf conversion of pgsql if tcl version >=8.1 and --enable-unicode-conversion
      03489512
  6. 23 9月, 2001 1 次提交
    • P
      Provide some initial support for building the ODBC driver for · 364a7ebe
      Peter Eisentraut 提交于
      an already installed iODBC or unixODBC driver manager.  In particular,
      use the include files provided by the driver manager over our own,
      and use the odbcinst library of the driver manager rather than gpps.c.
      
      Migrate portability sections common to several files into psqlodbc.h.
      364a7ebe
  7. 14 9月, 2001 1 次提交
  8. 08 9月, 2001 1 次提交
  9. 07 9月, 2001 1 次提交
  10. 06 9月, 2001 2 次提交
    • B
      PAM authentication: · 04c1f729
      Bruce Momjian 提交于
      > 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
    • B
      Next version of patch. · 16910e44
      Bruce Momjian 提交于
      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
  11. 24 8月, 2001 1 次提交
  12. 02 8月, 2001 2 次提交
  13. 16 7月, 2001 1 次提交
  14. 12 7月, 2001 1 次提交
  15. 12 6月, 2001 1 次提交
    • B
      The attached patch enables PostgreSQL CVS to build cleanly under Cygwin · 92f45065
      Bruce Momjian 提交于
      when built against readline 4.2.  Specifically, it handles the deprecation
      of
      
          filename_completion_function()
      
      with preference for
      
          rl_filename_completion_function()
      
      Although, I was motivated by Cygwin support, IMO this patch is appropriate
      for all platforms.  To quote from the readline source:
      
          #if 0
          /* Backwards compatibility (compat.c).  These will go away sometime. */
          ...
          extern READLINE_EXPORT(char, *filename_completion_function) ...
          #endif
      
      Note that this patch is modeled after the one by Peter Eisentraut for
      completion_matches():
      
          http://www.ca.postgresql.org/~petere/readline42.html
      I tested this patch under the following environments:
      
          Cygwin with readline 4.1
          Cygwin with readline 4.2
          Linux with readline 2.2.1
          Linux with readline 4.2
      
      and it behaved as expected.
      
      Jason Tishler
      92f45065
  16. 03 6月, 2001 1 次提交
    • P
      Native Language Support (NLS) · e5420364
      Peter Eisentraut 提交于
      Use --enable-nls to turn it on; see installation instructions for details.
      See developer's guide how to make use of it in programs and how to add
      translations.
      
      psql sources have been almost fully prepared and an incomplete German
      translation has been provided.  In the backend, only elog() calls are
      currently translatable, and the provided German translation file is more
      of a placeholder.
      e5420364
  17. 12 5月, 2001 1 次提交
  18. 07 5月, 2001 1 次提交
    • T
      Rewrite of planner statistics-gathering code. ANALYZE is now available as · f905d65e
      Tom Lane 提交于
      a separate statement (though it can still be invoked as part of VACUUM, too).
      pg_statistic redesigned to be more flexible about what statistics are
      stored.  ANALYZE now collects a list of several of the most common values,
      not just one, plus a histogram (not just the min and max values).  Random
      sampling is used to make the process reasonably fast even on very large
      tables.  The number of values and histogram bins collected is now
      user-settable via an ALTER TABLE command.
      
      There is more still to do; the new stats are not being used everywhere
      they could be in the planner.  But the remaining changes for this project
      should be localized, and the behavior is already better than before.
      
      A not-very-related change is that sorting now makes use of btree comparison
      routines if it can find one, rather than invoking '<' twice.
      f905d65e
  19. 15 4月, 2001 1 次提交
  20. 24 3月, 2001 1 次提交
  21. 01 3月, 2001 1 次提交
  22. 27 2月, 2001 1 次提交
  23. 18 2月, 2001 1 次提交
    • T
      Change s_lock to not use any zero-delay select() calls; these are just a · 33cc5d8a
      Tom Lane 提交于
      waste of cycles on single-CPU machines, and of dubious utility on multi-CPU
      machines too.
      Tweak s_lock_stuck so that caller can specify timeout interval, and
      increase interval before declaring stuck spinlock for buffer locks and XLOG
      locks.
      On systems that have fdatasync(), use that rather than fsync() to sync WAL
      log writes.  Ensure that WAL file is entirely allocated during XLogFileInit.
      33cc5d8a
  24. 23 1月, 2001 1 次提交
    • T
      Remove rangechecks on errno; just call strerror unconditionally. This · e9c936ff
      Tom Lane 提交于
      eliminates a raft of portability issues, including whether sys_nerr
      exists, whether the platform has any valid negative errnos, etc.  The
      downside is minimal: errno shouldn't ever contain an invalid value anyway,
      and if it does, reasonably modern versions of strerror will not choke.
      This rangecheck idea seemed good at the time, but it's clearly a net loss,
      and I apologize to all concerned for having ever put it in.
      e9c936ff
  25. 20 1月, 2001 1 次提交
    • P
      From Jason Tishler <jt@dothill.com> · 58f40285
      Peter Eisentraut 提交于
      * doc/FAQ_MSWIN: Update to be consistent with software -- mainly change
      comment from lack of Cygwin UNIX domain socket support and to list of
      current Cygwin UNIX domain socket issues.
      * src/include/config.h.in: Enable UNIX domain sockets for Cygwin.
      * src/include/port/win.h: Disable UNIX domain sockets for Cygwin b20.1.
      * src/test/regress/pg_regress.sh: Use UNIX domain sockets for Cygwin
      instead of TCP/IP.
      58f40285
  26. 10 1月, 2001 1 次提交
  27. 28 12月, 2000 1 次提交
    • T
      Fix portability problems recently exposed by regression tests on Alphas. · 8609d4ab
      Tom Lane 提交于
      1. Distinguish cases where a Datum representing a tuple datatype is an OID
      from cases where it is a pointer to TupleTableSlot, and make sure we use
      the right typlen in each case.
      2. Make fetchatt() and related code support 8-byte by-value datatypes on
      machines where Datum is 8 bytes.  Centralize knowledge of the available
      by-value datatype sizes in two macros in tupmacs.h, so that this will be
      easier if we ever have to do it again.
      8609d4ab
  28. 03 12月, 2000 1 次提交
    • T
      Don't cause --enable-cassert to define COPY_PARSE_PLAN_TREES automatically · 079c60ab
      Tom Lane 提交于
      anymore.  That won't teach us anything new for the rest of this release
      cycle, so it seems better to keep the --assert environment more like the
      non-assert environment for beta.
      I'm going to leave CLOBBER_FREED_MEMORY and MEMORY_CONTEXT_CHECKING
      turned on by --enable-cassert for now, however.
      079c60ab
  29. 01 12月, 2000 1 次提交
  30. 30 11月, 2000 2 次提交
    • V
      No more #ifdef XLOG. · 81c8c244
      Vadim B. Mikheev 提交于
      81c8c244
    • T
      Get rid of not-very-portable fcntl(F_SETLK) mechanism for locking the Unix · 792b0f46
      Tom Lane 提交于
      socket file, in favor of having an ordinary lockfile beside the socket file.
      Clean up a few robustness problems in the lockfile code.  If postmaster is
      going to reject a connection request based on database state, it will now
      tell you so before authentication exchange not after.  (Of course, a failure
      after is still possible if conditions change meanwhile, but this makes life
      easier for a yet-to-be-written pg_ping utility.)
      792b0f46
  31. 21 11月, 2000 1 次提交
  32. 20 11月, 2000 1 次提交
  33. 07 11月, 2000 1 次提交
  34. 04 11月, 2000 1 次提交
  35. 30 10月, 2000 1 次提交
  36. 23 10月, 2000 1 次提交