1. 30 1月, 2008 1 次提交
  2. 29 1月, 2008 4 次提交
  3. 28 1月, 2008 1 次提交
  4. 27 1月, 2008 1 次提交
    • T
      Change StatementCancelHandler() to check the DoingCommandRead flag to decide · 6322e844
      Tom Lane 提交于
      whether to execute an immediate interrupt, rather than testing whether
      LockWaitCancel() cancelled a lock wait.  The old way misclassified the case
      where we were blocked in ProcWaitForSignal(), and arguably would misclassify
      any other future additions of new ImmediateInterruptOK states too.  This
      allows reverting the old kluge that gave LockWaitCancel() a return value,
      since no callers care anymore.  Improve comments in the various
      implementations of PGSemaphoreLock() to explain that on some platforms, the
      assumption that semop() exits after a signal is wrong, and so we must ensure
      that the signal handler itself throws elog if we want cancel or die interrupts
      to be effective.  Per testing related to bug #3883, though this patch doesn't
      solve those problems fully.
      
      Perhaps this change should be back-patched, but since pre-8.3 branches aren't
      really relying on autovacuum to respond to SIGINT, it doesn't seem critical
      for them.
      6322e844
  5. 26 1月, 2008 1 次提交
  6. 25 1月, 2008 2 次提交
  7. 24 1月, 2008 4 次提交
  8. 23 1月, 2008 4 次提交
  9. 21 1月, 2008 5 次提交
  10. 20 1月, 2008 1 次提交
    • T
      Make pg_regress clean out the testtablespace directory only on Windows. · f10589e5
      Tom Lane 提交于
      On other platforms it's better to let the Makefile handle it, but we want
      the regression tests to be invokable without make on Windows.  A batch
      file would be a better solution, but no time for that before 8.3.
      Per my discovery that this breaks testing under SELinux, and subsequent
      discussion.
      f10589e5
  11. 18 1月, 2008 6 次提交
    • M
      · aeeef411
      Marc G. Fournier 提交于
      must commit after autoconf ... and yes, I used the right autoconf
      aeeef411
    • B
      7b4be2ba
    • T
      Insert into getCopyDataMessage() the same logic that already existed in the · 70066eb1
      Tom Lane 提交于
      main code path for enlarging libpq's input buffer in one swoop when needing to
      read a long data message.  Without this, the code will double the buffer size,
      read more data, notice it still hasn't got the whole message, and repeat till
      it finally has a large enough buffer.  Which wastes a lot of data-moving
      effort and also memory (since malloc probably can't do anything very useful
      with the freed-up smaller buffers).  Not sure why this wasn't there already;
      certainly the COPY data path is a place where we're quite likely to see long
      data messages.  I'm not backpatching though, since this is just a marginal
      performance issue rather than a real bug.
      70066eb1
    • T
      Fix subselect.c to avoid assuming that a SubLink's testexpr references each · a44174cf
      Tom Lane 提交于
      subquery output column exactly once left-to-right.  Although this is the case
      in the original parser output, it might not be so after rewriting and
      constant-folding, as illustrated by bug #3882 from Jan Mate.  Instead
      scan the subquery's target list to obtain needed per-column information;
      this is duplicative of what the parser did, but only a couple dozen lines
      need be copied, and we can clean up a couple of notational uglinesses.
      Bug was introduced in 8.2 as part of revision of SubLink representation.
      a44174cf
    • T
      Fix ALTER INDEX RENAME so that if the index belongs to a unique or primary key · 0df7717f
      Tom Lane 提交于
      constraint, the constraint is renamed as well.  This avoids inconsistent
      situations that could confuse pg_dump (not to mention humans).  We might at
      some point provide ALTER TABLE RENAME CONSTRAINT as a more general solution,
      but there seems no reason not to allow doing it this way too.  Per bug #3854
      and related discussions.
      0df7717f
    • B
      Update Japanese FAQ. · d07de6c4
      Bruce Momjian 提交于
      Jun Kuwamura
      d07de6c4
  12. 17 1月, 2008 5 次提交
  13. 16 1月, 2008 5 次提交