mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Remove extraneous blank lines before block-closing braces
These are useless and distracting. We wouldn't have written the code with them to begin with, so there's no reason to keep them. Author: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com Discussion: https://postgr.es/m/attachment/133167/0016-Extraneous-blank-lines.patch
This commit is contained in:
@@ -97,7 +97,6 @@ typedef struct CopyToStateData
|
||||
FmgrInfo *out_functions; /* lookup info for output functions */
|
||||
MemoryContext rowcontext; /* per-row evaluation context */
|
||||
uint64 bytes_processed; /* number of bytes processed so far */
|
||||
|
||||
} CopyToStateData;
|
||||
|
||||
/* DestReceiver for COPY (query) TO */
|
||||
|
@@ -1570,7 +1570,6 @@ DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel)
|
||||
*/
|
||||
if (slotname)
|
||||
ReplicationSlotDropAtPubNode(wrconn, slotname, false);
|
||||
|
||||
}
|
||||
PG_FINALLY();
|
||||
{
|
||||
|
@@ -945,7 +945,6 @@ DefineRelation(CreateStmt *stmt, char relkind, Oid ownerId,
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("specifying a table access method is not supported on a partitioned table")));
|
||||
|
||||
}
|
||||
else if (RELKIND_HAS_TABLE_AM(relkind))
|
||||
accessMethod = default_table_access_method;
|
||||
@@ -3773,7 +3772,6 @@ RenameConstraint(RenameStmt *stmt)
|
||||
stmt->relation->inh), /* recursive? */
|
||||
false, /* recursing? */
|
||||
0 /* expected inhcount */ );
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -17451,7 +17449,6 @@ ComputePartitionAttrs(ParseState *pstate, Relation rel, List *partParams, AttrNu
|
||||
errmsg("data type %s has no default operator class for access method \"%s\"",
|
||||
format_type_be(atttype), "btree"),
|
||||
errhint("You must specify a btree operator class or define a default btree operator class for the data type.")));
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user