]> granicus.if.org Git - postgresql/commit
elog() was set up to call abort() if it saw an ERROR or FATAL exit
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Dec 1999 23:03:40 +0000 (23:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Dec 1999 23:03:40 +0000 (23:03 +0000)
commit8a40400d4065dd24c4b4764c7d7e049a18d578c4
tree926453bef376b0625597af7e80101062e2e8ef37
parentb16bd185468a049a112415edb305e197b2051b2f
elog() was set up to call abort() if it saw an ERROR or FATAL exit
during InitProcessingMode and the CurrentTransactionState was neither
TRANS_DEFAULT nor TRANS_DISABLED.  Unfortunately, after someone's recent
change to start the transaction manager earlier in startup than it used
to be started, that caused an abort() and consequent database system
reset on quite harmless errors (such as rejecting an invalid user name!).
As far as I can see, the test on CurrentTransactionState was completely
useless anyway, so I've removed it.
src/backend/utils/error/elog.c