mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
pgindent run for release 9.3
This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
This commit is contained in:
@ -1147,7 +1147,7 @@ asyncQueueUnregister(void)
|
||||
|
||||
Assert(listenChannels == NIL); /* else caller error */
|
||||
|
||||
if (!amRegisteredListener) /* nothing to do */
|
||||
if (!amRegisteredListener) /* nothing to do */
|
||||
return;
|
||||
|
||||
LWLockAcquire(AsyncQueueLock, LW_SHARED);
|
||||
@ -1519,7 +1519,7 @@ AtAbort_Notify(void)
|
||||
/*
|
||||
* If we LISTEN but then roll back the transaction after PreCommit_Notify,
|
||||
* we have registered as a listener but have not made any entry in
|
||||
* listenChannels. In that case, deregister again.
|
||||
* listenChannels. In that case, deregister again.
|
||||
*/
|
||||
if (amRegisteredListener && listenChannels == NIL)
|
||||
asyncQueueUnregister();
|
||||
|
Reference in New Issue
Block a user