1. 21 8月, 2002 2 次提交
  2. 20 8月, 2002 9 次提交
  3. 19 8月, 2002 9 次提交
  4. 18 8月, 2002 12 次提交
  5. 17 8月, 2002 8 次提交
    • B
      Reverse out XLogDir/-X write-ahead log handling, per discussion. · d04e9137
      Bruce Momjian 提交于
      Original patch from Thomas.
      d04e9137
    • B
      Add: · 7c02c86d
      Bruce Momjian 提交于
      > * Use dependency information to dump data in proper order
      7c02c86d
    • B
      Done: · a8d27511
      Bruce Momjian 提交于
      > 	o -Add command to display locks
      a8d27511
    • B
      Add lock file. · fc68e440
      Bruce Momjian 提交于
      fc68e440
    • B
      In that case, attached is a patch which locates the beginning of the · 54124240
      Bruce Momjian 提交于
      offending token more efficiently (per your suggestion of using
      scanbuf). The new patch does the same as before:
      
      template1=# select * frum pg_class;
      ERROR:  parser: parse error at or near "frum" at character 10
      
      It also implement's Tom's suggestion:
      
      template1=# select * from pg_class where\g
      ERROR:  parse: parse error at end of input
      
      Gavin Sherry
      54124240
    • B
      [ Newest version of patch applied.] · 82119a69
      Bruce Momjian 提交于
      This patch is an updated version of the lock listing patch. I've made
      the following changes:
      
          - write documentation
          - wrap the SRF in a view called 'pg_locks': all user-level
            access should be done through this view
          - re-diff against latest CVS
      
      One thing I chose not to do is adapt the SRF to use the anonymous
      composite type code from Joe Conway. I'll probably do that eventually,
      but I'm not really convinced it's a significantly cleaner way to
      bootstrap SRF builtins than the method this patch uses (of course, it
      has other uses...)
      
      Neil Conway
      82119a69
    • B
      Add libpq connection timeout parameter. · f0ed4311
      Bruce Momjian 提交于
      Denis A Ustimenko
      f0ed4311
    • B
      What I have done for libpgtcl: · b7214a87
      Bruce Momjian 提交于
      Everytime if I do PQconsumeInput (when the backend channel gets
      readable) I check for the return value. (0 == error) and generate a
      notification manually, e.g. fixed string connection_closed) and pass it to the
      TCL event queue. The only other thing I had to do is to comment out removing
      all pending events in PgStopNotifyEventSource whenever the connection was
      unexpectedly closed (so the manually generated event will not be deleted).
      
      A broken backend connection triggers a notify event to the client (fixed
      notification string "connection_closed") so proper action can be taken to switch
      to another database server etc. Remember that this is event driven. If you have
      applications, that have idle database connections most of the time, you'll get
      immediate feedback of a dying server. Upon connection to the server issue a
      pg_notify for notify event "connection_closed" and whenever the backend crashes
      (which it does do in very very rare cases) you get an event driven recovery. (of
      course the Tcl-Event loop has to be processed). Issuing a notification
      "connection_closed" on a still working database could be used for switching to
      another db-server (which I've actually impelemented right now).
      
      Gerhard Hintermayer
      b7214a87