1. 14 1月, 2000 1 次提交
    • T
      Clean up some problems in new asynchronous-connection logic · 2af360ed
      Tom Lane 提交于
      in libpq --- mostly, poor response to error conditions.  You now actually
      get to see the postmaster's 'The Data Base System is starting up' message,
      which you didn't before.  I suspect the SSL code is still broken though.
      2af360ed
  2. 07 12月, 1999 1 次提交
  3. 30 11月, 1999 1 次提交
    • B
      This patch (against the current CVS sources) adds to libpq the functions · 3ab5b1f1
      Bruce Momjian 提交于
      PQconnectStart
      PQconnectPoll
      PQresetStart
      PQresetPoll
      PQsetenvStart
      PQsetenvPoll
      PQsetenvAbort
      
      and brings into the published interface
      
      PQsetenv.
      
      The first four are asynchronous analogues of PQconnectdb and PQreset -
      they allow an application to connect to the DB without blocking on
      remote I/O.
      
      The PQsetenv functions perform an environment negotiation with the
      server.
      
      Internal to libpq, pqReadReady and pqWriteReady have been made available
      across the library (they were previously static functions inside
      fe-misc.c).  A lot of internal rearrangement has been necessary to
      support these changes.
      
      The API documentation has been updated also.
      
      Caveats:
      
        o  The Windows code does not default to using non-blocking sockets,
      since I have no documentation: Define WIN32_NON_BLOCKING_CONNECTIONS to
      do that.
      
        o  The SSL code still blocks.
      
      
      Ewan Mellor.
      3ab5b1f1
  4. 12 11月, 1999 1 次提交
  5. 26 10月, 1999 1 次提交
  6. 17 6月, 1999 1 次提交
  7. 21 5月, 1999 1 次提交
  8. 10 5月, 1999 1 次提交
    • B
      libpq++ uses fe_setauthsvc which is deprecated and results in an error · 86dacdb7
      Bruce Momjian 提交于
      on connection. This patch changes it to use PQconnectdb rather than
      {fe_setauthsvc,PQsetdb}. This still isn't the complete solution, as
      there
      is no provision for user,password in class PgEnv, but it does get rid of
      the error message. Tested with gcc version egcs-2.91.60 19981201
      (egcs-1.1.1 release) under NetBSD-1.3K/i386.
      
      Cheers,
      
      Patrick Welche
      86dacdb7
  9. 18 4月, 1999 1 次提交
  10. 29 12月, 1998 1 次提交
  11. 31 10月, 1998 1 次提交
  12. 21 10月, 1998 1 次提交
  13. 18 10月, 1998 1 次提交
  14. 15 10月, 1998 1 次提交
  15. 14 10月, 1998 1 次提交
  16. 11 10月, 1998 1 次提交
    • T
      Clean up markup. · d98011d8
      Thomas G. Lockhart 提交于
      Add new bibliographic references from Paul Aoki.
      Include libpq++ docs from the old man page in the Programmer's Guide.
      Update Unix installation info for ODBC.
      d98011d8
  17. 05 10月, 1998 1 次提交
  18. 15 8月, 1998 1 次提交
  19. 29 7月, 1998 1 次提交
  20. 14 7月, 1998 1 次提交
  21. 09 7月, 1998 1 次提交
    • M
      · ce812671
      Marc G. Fournier 提交于
      From: Tom Lane <tgl@sss.pgh.pa.us>
      
      Attached are diffs (from current cvs sources) to bring libpq.sgml
      and libpq.3 up to date.
      
      It appears that at various times in the past, people have made edits to
      one or the other of these files but not both.  I propagated some changes
      from each into the other, but I don't think I caught every
      inconsistency.  It'd be real nice if the man pages could be
      automatically generated from the SGML...
      ce812671
  22. 07 5月, 1998 1 次提交
    • B
      What I've done: · edbd5139
      Bruce Momjian 提交于
      1. Rewritten libpq to allow asynchronous clients.
      
      2. Implemented client side of cancel protocol in library,
         and patched psql.c to send a cancel request upon SIGINT.  The
         backend doesn't notice it yet :-(
      
      3. Implemented 'Z' protocol message addition and renaming of
         copy in/out start messages.  These are implemented conditionally,
         ie, the client protocol version is checked; so the code should
         still work with 1.0 clients.
      
      4. Revised protocol and libpq sgml documents (don't have an SGML
         compiler, though, so there may be some markup glitches here).
      
      
      What remains to be done:
      
      1. Implement addition of atttypmod field to RowDescriptor messages.
         The client-side code is there but ifdef'd out.  I have no idea
         what to change on the backend side.  The field should be sent
         only if protocol >= 2.0, of course.
      
      2. Implement backend response to cancel requests received as OOB
         messages.  (This prolly need not be conditional on protocol
         version; just do it if you get SIGURG.)
      
      3. Update libpq.3.  (I'm hoping this can be generated mechanically
         from libpq.sgml... if not, will do it by hand.)  Is there any
         other doco to fix?
      
      4. Update non-libpq interfaces as necessary.  I patched libpgtcl
         so that it would compile, but haven't tested it.  Dunno what
         needs to be done with the other interfaces.
      
      Have at it!
      
      Tom Lane
      edbd5139
  23. 26 4月, 1998 1 次提交
  24. 05 4月, 1998 1 次提交
  25. 01 3月, 1998 1 次提交