1. 28 7月, 2003 1 次提交
  2. 24 7月, 2003 1 次提交
    • T
      Have a go at fixing various outstanding portability issues in code that · df63503d
      Tom Lane 提交于
      was modified for IPv6.  Use a robust definition of struct sockaddr_storage,
      do a proper configure test to see if ss_len exists, don't assume that
      getnameinfo() will handle AF_UNIX sockets, don't trust getaddrinfo to
      return the protocol we ask for, etc.  This incorporates several outstanding
      patches from Kurt Roeckx, but I'm to blame for anything that doesn't
      work ...
      df63503d
  3. 23 7月, 2003 3 次提交
  4. 12 6月, 2003 1 次提交
  5. 11 6月, 2003 1 次提交
  6. 29 5月, 2003 2 次提交
  7. 28 5月, 2003 1 次提交
  8. 16 5月, 2003 1 次提交
    • B
      Allow Win32 to compile under MinGW. Major changes are: · 12c94238
      Bruce Momjian 提交于
              Win32 port is now called 'win32' rather than 'win'
              add -lwsock32 on Win32
              make gethostname() be only used when kerberos4 is enabled
              use /port/getopt.c
              new /port/opendir.c routines
              disable GUC unix_socket_group on Win32
              convert some keywords.c symbols to KEYWORD_P to prevent conflict
              create new FCNTL_NONBLOCK macro to turn off socket blocking
              create new /include/port.h file that has /port prototypes, move
                out of c.h
              new /include/port/win32_include dir to hold missing include files
              work around ERROR being defined in Win32 includes
      12c94238
  9. 11 5月, 2003 1 次提交
  10. 09 5月, 2003 3 次提交
  11. 08 5月, 2003 1 次提交
  12. 07 5月, 2003 1 次提交
  13. 03 5月, 2003 6 次提交
  14. 28 4月, 2003 1 次提交
    • T
      Put back encoding-conversion step in processing of incoming queries; · 982430f8
      Tom Lane 提交于
      I had inadvertently omitted it while rearranging things to support
      length-counted incoming messages.  Also, change the parser's API back
      to accepting a 'char *' query string instead of 'StringInfo', as the
      latter wasn't buying us anything except overhead.  (I think when I put
      it in I had some notion of making the parser API 8-bit-clean, but
      seeing that flex depends on null-terminated input, that's not really
      ever gonna happen.)
      982430f8
  15. 26 4月, 2003 1 次提交
  16. 25 4月, 2003 1 次提交
  17. 22 4月, 2003 1 次提交
    • T
      Another round of protocol changes. Backend-to-frontend messages now all · 5ed27e35
      Tom Lane 提交于
      have length words.  COPY OUT reimplemented per new protocol: it doesn't
      need \. anymore, thank goodness.  COPY BINARY to/from frontend works,
      at least as far as the backend is concerned --- libpq's PQgetline API
      is not up to snuff, and will have to be replaced with something that is
      null-safe.  libpq uses message length words for performance improvement
      (no cycles wasted rescanning long messages), but not yet for error
      recovery.
      5ed27e35
  18. 19 4月, 2003 1 次提交
  19. 18 4月, 2003 2 次提交
  20. 07 4月, 2003 1 次提交
  21. 25 3月, 2003 1 次提交
  22. 20 3月, 2003 2 次提交
    • B
      > I can see a couple possible downsides: (a) the library might have some · 15ce2d2e
      Bruce Momjian 提交于
      > weird behavior across fork boundaries; (b) the additional memory space
      > that has to be duplicated into child processes will cost something per
      > child launch, even if the child never uses it.  But these are only
      > arguments that it might not *always* be a prudent thing to do, not that
      > we shouldn't give the DBA the tool to do it if he wants.  So fire away.
      
      Here is a patch for the above, including a documentation update. It
      creates a new GUC variable "preload_libraries", that accepts a list in
      the form:
      
         preload_libraries = '$libdir/mylib1:initfunc,$libdir/mylib2'
      
      If ":initfunc" is omitted or not found, no initialization function is
      executed, but the library is still preloaded. If "$libdir/mylib" isn't
      found, the postmaster refuses to start.
      
      In my testing with PL/R, it reduces the first call to a PL/R function
      (after connecting) from almost 2 seconds, down to about 8 ms.
      
      Joe Conway
      15ce2d2e
    • B
      Add start time to pg_stat_activity · a1833100
      Bruce Momjian 提交于
      Neil Conway
      a1833100
  23. 23 2月, 2003 1 次提交
  24. 25 1月, 2003 1 次提交
  25. 16 1月, 2003 1 次提交
    • T
      Repair an embarrassingly large number of alphabetization mistakes in the · cb23b841
      Tom Lane 提交于
      datetime token tables.  Even more embarrassing, the regression tests
      revealed some of the problems --- but evidently the bogus output wasn't
      questioned.  Add code to postmaster startup to directly check the tables
      for correct ordering, in hopes of not being embarrassed like this again.
      cb23b841
  26. 08 1月, 2003 1 次提交
  27. 06 1月, 2003 2 次提交