diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-06-15 19:30:31 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-06-15 19:30:31 +0000 |
commit | 6bd323c6b3f65b26273d5efb7ddd0ac04d039546 (patch) | |
tree | 6106db4e7512e765ca8c48963fb750cb63fec96f /src/backend/commands/async.c | |
parent | 27db9ecd0b15abca733a99dab3bf9771ad70507d (diff) | |
download | postgresql-6bd323c6b3f65b26273d5efb7ddd0ac04d039546.tar.gz postgresql-6bd323c6b3f65b26273d5efb7ddd0ac04d039546.zip |
Remove un-needed braces around single statements.
Diffstat (limited to 'src/backend/commands/async.c')
-rw-r--r-- | src/backend/commands/async.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c index fcf02b2e4bf..fcdda333057 100644 --- a/src/backend/commands/async.c +++ b/src/backend/commands/async.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.32 1998/05/06 23:49:52 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.33 1998/06/15 19:28:11 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -312,9 +312,7 @@ Async_NotifyAtCommit() if (kill(DatumGetInt32(d), SIGUSR2) < 0) { if (errno == ESRCH) - { heap_delete(lRel, &lTuple->t_ctid); - } } #endif } @@ -360,9 +358,7 @@ Async_NotifyAtAbort() extern TransactionState CurrentTransactionState; if (notifyIssued) - { ClearPendingNotify(); - } notifyIssued = 0; if (pendingNotifies) DLFreeList(pendingNotifies); @@ -446,9 +442,7 @@ Async_Listen(char *relname, int pid) d = heap_getattr(htup, Anum_pg_listener_pid, tdesc, &isnull); pid = DatumGetInt32(d); if (pid == MyProcPid) - { alreadyListener = 1; - } } ReleaseBuffer(b); } @@ -517,9 +511,7 @@ Async_Unlisten(char *relname, int pid) RelationSetLockForWrite(lDesc); if (lTuple != NULL) - { heap_delete(lDesc, &lTuple->t_ctid); - } RelationUnsetLockForWrite(lDesc); heap_close(lDesc); @@ -610,9 +602,7 @@ Async_NotifyFrontEnd() pq_flush(); } else - { elog(NOTICE, "Async_NotifyFrontEnd: no asynchronous notification to frontend on interactive sessions"); - } ReleaseBuffer(b); } CommitTransactionCommand(); |