mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
pgindent run for 8.3.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/commands/discard.c,v 1.1 2007/04/26 16:13:10 neilc Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/commands/discard.c,v 1.2 2007/11/15 21:14:33 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -28,7 +28,7 @@ static void DiscardAll(bool isTopLevel);
|
||||
* DISCARD { ALL | TEMP | PLANS }
|
||||
*/
|
||||
void
|
||||
DiscardCommand(DiscardStmt *stmt, bool isTopLevel)
|
||||
DiscardCommand(DiscardStmt * stmt, bool isTopLevel)
|
||||
{
|
||||
switch (stmt->target)
|
||||
{
|
||||
@ -54,10 +54,10 @@ DiscardAll(bool isTopLevel)
|
||||
{
|
||||
/*
|
||||
* Disallow DISCARD ALL in a transaction block. This is arguably
|
||||
* inconsistent (we don't make a similar check in the command
|
||||
* sequence that DISCARD ALL is equivalent to), but the idea is
|
||||
* to catch mistakes: DISCARD ALL inside a transaction block
|
||||
* would leave the transaction still uncommitted.
|
||||
* inconsistent (we don't make a similar check in the command sequence
|
||||
* that DISCARD ALL is equivalent to), but the idea is to catch mistakes:
|
||||
* DISCARD ALL inside a transaction block would leave the transaction
|
||||
* still uncommitted.
|
||||
*/
|
||||
PreventTransactionChain(isTopLevel, "DISCARD ALL");
|
||||
|
||||
|
Reference in New Issue
Block a user