top | item 40564655

(no title)

jeff-davis | 1 year ago

Longjmp is used by Postgres for transaction aborts. With C, there's not really a better option available.

discuss

order

eqvinox|1 year ago

That's not from within signal handlers, though. (i.e. it relates to this specific longjmp discussion but not the root post re. exceptions on other threads.)

anarazel|1 year ago

It unfortunately is used from within signal handlers, albeit only in specific cases (SIGFPE). There used to several more, but we luckily largely cleaned that up over the last few years.