Remove extraneous blank lines before block-closing braces
authorAlvaro Herrera <[email protected]>
Wed, 13 Apr 2022 17:14:20 +0000 (19:14 +0200)
committerAlvaro Herrera <[email protected]>
Wed, 13 Apr 2022 17:16:02 +0000 (19:16 +0200)
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 <[email protected]>
Discussion: https://postgr.es/m/20220411020336[email protected]
Discussion: https://postgr.es/m/attachment/133167/0016-Extraneous-blank-lines.patch

100 files changed:
contrib/btree_gist/btree_bit.c
contrib/btree_gist/btree_cash.c
contrib/btree_gist/btree_float4.c
contrib/btree_gist/btree_float8.c
contrib/btree_gist/btree_inet.c
contrib/btree_gist/btree_interval.c
contrib/btree_gist/btree_macaddr.c
contrib/btree_gist/btree_macaddr8.c
contrib/btree_gist/btree_ts.c
contrib/dblink/dblink.c
contrib/intarray/_int_bool.c
contrib/ltree/ltxtquery_io.c
contrib/pg_stat_statements/pg_stat_statements.c
contrib/postgres_fdw/connection.c
contrib/spi/refint.c
src/backend/access/brin/brin_bloom.c
src/backend/access/gin/ginbtree.c
src/backend/access/heap/heapam.c
src/backend/access/heap/vacuumlazy.c
src/backend/access/nbtree/nbtsplitloc.c
src/backend/access/nbtree/nbtutils.c
src/backend/access/rmgrdesc/gistdesc.c
src/backend/access/spgist/spgutils.c
src/backend/access/table/tableam.c
src/backend/access/transam/xlogrecovery.c
src/backend/catalog/objectaddress.c
src/backend/catalog/pg_attrdef.c
src/backend/commands/copyto.c
src/backend/commands/subscriptioncmds.c
src/backend/commands/tablecmds.c
src/backend/executor/execParallel.c
src/backend/executor/execReplication.c
src/backend/executor/nodeAgg.c
src/backend/executor/nodeMergejoin.c
src/backend/jit/llvm/llvmjit_deform.c
src/backend/jit/llvm/llvmjit_expr.c
src/backend/libpq/hba.c
src/backend/optimizer/geqo/geqo_cx.c
src/backend/optimizer/geqo/geqo_erx.c
src/backend/optimizer/geqo/geqo_ox1.c
src/backend/optimizer/geqo/geqo_ox2.c
src/backend/optimizer/geqo/geqo_pmx.c
src/backend/optimizer/geqo/geqo_px.c
src/backend/optimizer/plan/planner.c
src/backend/postmaster/postmaster.c
src/backend/replication/logical/origin.c
src/backend/replication/logical/snapbuild.c
src/backend/replication/logical/worker.c
src/backend/replication/pgoutput/pgoutput.c
src/backend/replication/walsender.c
src/backend/statistics/dependencies.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/freelist.c
src/backend/storage/ipc/latch.c
src/backend/storage/ipc/procarray.c
src/backend/storage/lmgr/lwlock.c
src/backend/storage/page/bufpage.c
src/backend/storage/sync/sync.c
src/backend/tcop/postgres.c
src/backend/tcop/utility.c
src/backend/tsearch/to_tsany.c
src/backend/tsearch/ts_parse.c
src/backend/utils/activity/pgstat_database.c
src/backend/utils/adt/acl.c
src/backend/utils/adt/json.c
src/backend/utils/adt/jsonb.c
src/backend/utils/adt/jsonfuncs.c
src/backend/utils/adt/multirangetypes.c
src/backend/utils/adt/oracle_compat.c
src/backend/utils/adt/ruleutils.c
src/backend/utils/adt/selfuncs.c
src/backend/utils/adt/timestamp.c
src/backend/utils/adt/tsvector_op.c
src/backend/utils/cache/catcache.c
src/backend/utils/error/elog.c
src/backend/utils/misc/guc.c
src/backend/utils/mmgr/generation.c
src/backend/utils/resowner/resowner.c
src/backend/utils/sort/tuplesort.c
src/bin/initdb/initdb.c
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_rewind/parsexlog.c
src/bin/pg_verifybackup/pg_verifybackup.c
src/bin/psql/describe.c
src/bin/psql/prompt.c
src/common/jsonapi.c
src/fe_utils/print.c
src/interfaces/ecpg/ecpglib/connect.c
src/interfaces/ecpg/ecpglib/data.c
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/misc.c
src/interfaces/ecpg/pgtypeslib/dt_common.c
src/interfaces/ecpg/pgtypeslib/interval.c
src/interfaces/ecpg/pgtypeslib/numeric.c
src/interfaces/ecpg/pgtypeslib/timestamp.c
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-secure-openssl.c
src/pl/tcl/pltcl.c
src/port/chklocale.c
src/test/modules/ssl_passphrase_callback/ssl_passphrase_func.c

index 2225244ded59853141875c439834bd8290048aae..5b246bcde4b3e70fe9cf3ad02afc4966b372b40e 100644 (file)
@@ -104,7 +104,6 @@ gbt_bit_l2n(GBT_VARKEY *leaf, FmgrInfo *flinfo)
        pfree(o);
 
        return out;
-
 }
 
 static const gbtree_vinfo tinfo =
index dfa23224b6f0966346ccbc5e9552760e891cd493..6ac97e2b12a806a74b0c1025bc26cb621e2bd648 100644 (file)
@@ -195,7 +195,6 @@ gbt_cash_penalty(PG_FUNCTION_ARGS)
        penalty_num(result, origentry->lower, origentry->upper, newentry->lower, newentry->upper);
 
        PG_RETURN_POINTER(result);
-
 }
 
 Datum
index b5d9175e6d5b64c9d9cc6fc440cf1b2516b968da..3cbd9a06dccfd3ffc2f4214e05617e3ded0341d6 100644 (file)
@@ -190,7 +190,6 @@ gbt_float4_penalty(PG_FUNCTION_ARGS)
        penalty_num(result, origentry->lower, origentry->upper, newentry->lower, newentry->upper);
 
        PG_RETURN_POINTER(result);
-
 }
 
 Datum
index 8fe1fedeef817ba868290aa6bfdee22c87a53ad1..b95a08e228bbfaf0def4a45003a035a2911ad014 100644 (file)
@@ -197,7 +197,6 @@ gbt_float8_penalty(PG_FUNCTION_ARGS)
        penalty_num(result, origentry->lower, origentry->upper, newentry->lower, newentry->upper);
 
        PG_RETURN_POINTER(result);
-
 }
 
 Datum
index e4b3a946b277008c1a9179ef96dbee4fab8faa89..2fb952dca83fbc49d7141eca78fe2bbcbd650dc2 100644 (file)
@@ -165,7 +165,6 @@ gbt_inet_penalty(PG_FUNCTION_ARGS)
        penalty_num(result, origentry->lower, origentry->upper, newentry->lower, newentry->upper);
 
        PG_RETURN_POINTER(result);
-
 }
 
 Datum
index a4b3b2b1e6fe44fdc5a9a9f01d713a70fc2a5138..c2bf82086df4e7a9998da87eb79c0e0e7acdbea7 100644 (file)
@@ -173,7 +173,6 @@ gbt_intv_compress(PG_FUNCTION_ARGS)
        }
 
        PG_RETURN_POINTER(retval);
-
 }
 
 Datum
@@ -276,7 +275,6 @@ gbt_intv_penalty(PG_FUNCTION_ARGS)
        penalty_num(result, iorg[0], iorg[1], inew[0], inew[1]);
 
        PG_RETURN_POINTER(result);
-
 }
 
 Datum
index 7f0e9e9c91254b52e55da33a99cc31322ae0b830..17290529c02fbe320fd57ffb18f33e90776d4894 100644 (file)
@@ -174,7 +174,6 @@ gbt_macad_penalty(PG_FUNCTION_ARGS)
        penalty_num(result, iorg[0], iorg[1], inew[0], inew[1]);
 
        PG_RETURN_POINTER(result);
-
 }
 
 Datum
index ab4bca5d50d84766caabefa9cb6a48059929fdd9..796cc4efee3233c4256a2b18b5d1c98e6151f14b 100644 (file)
@@ -174,7 +174,6 @@ gbt_macad8_penalty(PG_FUNCTION_ARGS)
        penalty_num(result, iorg[0], iorg[1], inew[0], inew[1]);
 
        PG_RETURN_POINTER(result);
-
 }
 
 Datum
index 2671ba961cdae67ec9fa4f180fe083bf38e3a60d..a51900941e5c95d4855cb7120961f6c9c9e6d24d 100644 (file)
@@ -377,7 +377,6 @@ gbt_ts_penalty(PG_FUNCTION_ARGS)
        penalty_num(result, orgdbl[0], orgdbl[1], newdbl[0], newdbl[1]);
 
        PG_RETURN_POINTER(result);
-
 }
 
 
index a06d4bd12db83c234737b0749491fce87a79ea2c..a561d1d65244c2f8f21fc521ec884b4a02dae05f 100644 (file)
@@ -1004,7 +1004,6 @@ materializeResult(FunctionCallInfo fcinfo, PGconn *conn, PGresult *res)
 
                        /* clean up GUC settings, if we changed any */
                        restoreLocalGucs(nestlevel);
-
                }
        }
        PG_FINALLY();
@@ -2635,7 +2634,6 @@ deleteConnection(const char *name)
                ereport(ERROR,
                                (errcode(ERRCODE_UNDEFINED_OBJECT),
                                 errmsg("undefined connection name")));
-
 }
 
 static void
index 4b6a31080e433c7b664564ec69e9211a81e8ff1e..3ed88af76d777e3be65a6a188e33e24006ff266a 100644 (file)
@@ -210,7 +210,6 @@ makepol(WORKSTATE *state)
                                                (errcode(ERRCODE_SYNTAX_ERROR),
                                                 errmsg("syntax error")));
                                return ERR;
-
                }
        }
 
index d967f92110fed68b376885855be79f1ccaa7c363..3eca5cb8ff30359a0cdca12e460657849f8725a8 100644 (file)
@@ -260,7 +260,6 @@ makepol(QPRS_STATE *state)
                                                 errmsg("syntax error")));
 
                                return ERR;
-
                }
        }
        while (lenstack)
index 1ca67ef623452e21e550e89dab67d16e09abda4d..df2ce63790b434353675fbaf8b963a6ebe4db4a9 100644 (file)
@@ -1849,7 +1849,6 @@ pg_stat_statements_internal(FunctionCallInfo fcinfo,
 
        if (qbuffer)
                free(qbuffer);
-
 }
 
 /* Number of output arguments (columns) for pg_stat_statements_info */
index 129ca7922140439b7f9031791862cc7514e86423..f9b8c01f3b95379abc17c2fe95c22ff9a992a2fa 100644 (file)
@@ -1734,7 +1734,6 @@ postgres_fdw_get_connections(PG_FUNCTION_ARGS)
                tuplestore_putvalues(rsinfo->setResult, rsinfo->setDesc, values, nulls);
        }
 
-
        PG_RETURN_VOID();
 }
 
index 6fbfef2b12167f46b0c58555f8e6a98afd8fbfac..18062eb1cffbd6ac3347f0053bb8db0ccc313d53 100644 (file)
@@ -497,12 +497,10 @@ check_foreign_key(PG_FUNCTION_ARGS)
                                                                 nv, (is_char_type > 0) ? "'" : "", (k < nkeys) ? ", " : "");
                                        }
                                        strcat(sql, " where ");
-
                                }
                                else
                                        /* DELETE */
                                        snprintf(sql, sizeof(sql), "delete from %s where ", relname);
-
                        }
 
                        /*
index 7428fa90d33acb964715554d1d2ffa28357afcc7..6812ca9fd1c943a26661a43a43268d09ff316b2a 100644 (file)
@@ -257,7 +257,6 @@ typedef struct BloomFilter
 
        /* data of the bloom filter */
        char            data[FLEXIBLE_ARRAY_MEMBER];
-
 } BloomFilter;
 
 
index 8df45478f10d2eec21683ae22261dba9de325469..cc6d4e633822574585bad27241deefb1d4ca8125 100644 (file)
@@ -527,7 +527,6 @@ ginPlaceToPage(GinBtree btree, GinBtreeStack *stack,
                                                                           BufferGetBlockNumber(stack->buffer),
                                                                           BufferGetBlockNumber(rbuffer));
                        }
-
                }
                else
                {
index ba11bcd99e9cbc2531bf2770e1230dd6714dbef5..8d7655f4cfd42373415457d8e0c24f207acef57a 100644 (file)
@@ -8481,7 +8481,6 @@ log_heap_new_cid(Relation relation, HeapTuple tup)
                {
                        xlrec.cmin = InvalidCommandId;
                        xlrec.cmax = HeapTupleHeaderGetRawCommandId(hdr);
-
                }
                xlrec.combocid = InvalidCommandId;
        }
index a1c2af33f10d2bb4f0cc2b9edfbc82036dacca70..788db569b2d27576e938f7163816eedea4f8bc8d 100644 (file)
@@ -2073,7 +2073,6 @@ lazy_scan_noprune(LVRelState *vacrel,
                                elog(ERROR, "unexpected HeapTupleSatisfiesVacuum result");
                                break;
                }
-
        }
 
        vacrel->offnum = InvalidOffsetNumber;
index ee01ceafdac9572977daec4fd3c5e306996ca0e8..241e26d3385f5c6db7af33f57b3071cd85a24a85 100644 (file)
@@ -35,7 +35,6 @@ typedef struct
        /* split point identifying fields (returned by _bt_findsplitloc) */
        OffsetNumber firstrightoff; /* first origpage item on rightpage */
        bool            newitemonleft;  /* new item goes on left, or right? */
-
 } SplitPoint;
 
 typedef struct
index fd1b53885cc52097d6f07e566850226eff7664d4..ff260c393ab7fffc2a5f3e7ca4a76bd1ab3c5032 100644 (file)
@@ -2116,14 +2116,12 @@ btoptions(Datum reloptions, bool validate)
                offsetof(BTOptions, vacuum_cleanup_index_scale_factor)},
                {"deduplicate_items", RELOPT_TYPE_BOOL,
                offsetof(BTOptions, deduplicate_items)}
-
        };
 
        return (bytea *) build_reloptions(reloptions, validate,
                                                                          RELOPT_KIND_BTREE,
                                                                          sizeof(BTOptions),
                                                                          tab, lengthof(tab));
-
 }
 
 /*
@@ -2591,7 +2589,6 @@ _bt_check_natts(Relation rel, bool heapkeyspace, Page page, OffsetNumber offnum)
 
                        /* Use generic heapkeyspace pivot tuple handling */
                }
-
        }
 
        /* Handle heapkeyspace pivot tuples (excluding minus infinity items) */
index 9cab4fa1580a6e9d32e18945614258ac467a2bcf..d0c8e247c1dced3d2fd1378a29edddcb6fb8581d 100644 (file)
@@ -38,7 +38,6 @@ out_gistxlogDelete(StringInfo buf, gistxlogDelete *xlrec)
 {
        appendStringInfo(buf, "delete: latestRemovedXid %u, nitems: %u",
                                         xlrec->latestRemovedXid, xlrec->ntodelete);
-
 }
 
 static void
index 1ae7492216abec5986742a50e111a415c557cdd0..a171ca8a08af053e6bd4225dbdd962d4ff9e7a9c 100644 (file)
@@ -747,7 +747,6 @@ spgoptions(Datum reloptions, bool validate)
                                                                          RELOPT_KIND_SPGIST,
                                                                          sizeof(SpGistOptions),
                                                                          tab, lengthof(tab));
-
 }
 
 /*
index 4f20c6ac12ac0d2a4ebb2712603265722104d73c..b3d1a6c3f8f6e8c9ad1bcf6c8718ec2b7292b79d 100644 (file)
@@ -381,7 +381,6 @@ simple_table_tuple_update(Relation rel, ItemPointer otid,
                        elog(ERROR, "unrecognized table_tuple_update status: %u", result);
                        break;
        }
-
 }
 
 
index 26be94b3f19eab95a27851ebb810607a46ffd81b..39ef865ed92997d5b37ac9b4a6f5c3ad2863a16f 100644 (file)
@@ -1790,7 +1790,6 @@ PerformWalRecovery(void)
                /* there are no WAL records following the checkpoint */
                ereport(LOG,
                                (errmsg("redo is not required")));
-
        }
 
        /*
index ac6043514f1abd3b00a9a65ab74dd5df62cf471e..8377b4f7d4d1b87e31197fd4670eac5755ceb5e7 100644 (file)
@@ -1007,7 +1007,6 @@ get_object_address(ObjectType objtype, Node *object,
                                        address.objectId = get_domain_constraint_oid(domaddr.objectId,
                                                                                                                                 constrname, missing_ok);
                                        address.objectSubId = 0;
-
                                }
                                break;
                        case OBJECT_DATABASE:
@@ -5621,7 +5620,6 @@ getObjectIdentityParts(const ObjectAddress *object,
                                        systable_endscan(rcscan);
                                        table_close(defaclrel, AccessShareLock);
                                        break;
-
                                }
 
                                defacl = (Form_pg_default_acl) GETSTRUCT(tup);
index 2d63c6e62a3f5671298c3f91060a1ca6f2cc3d59..c5d4a9912ea7073801f0c05bf2b80e8cbcc0a381 100644 (file)
@@ -167,7 +167,6 @@ StoreAttrDefault(Relation rel, AttrNumber attnum,
 
                if (!missingIsNull)
                        pfree(DatumGetPointer(missingval));
-
        }
        table_close(attrrel, RowExclusiveLock);
        heap_freetuple(atttup);
index 55c38b04c45c5f7b58f5c2010731af4acc12f273..643bbf286e5c8d956cb18cc9d350b38811c5c22c 100644 (file)
@@ -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 */
index 2e8d8afead8322cdcd5812cca5aef8b7987869af..b94236f74d31e0dbd15cc7bec509ad45334b7b2b 100644 (file)
@@ -1570,7 +1570,6 @@ DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel)
                 */
                if (slotname)
                        ReplicationSlotDropAtPubNode(wrconn, slotname, false);
-
        }
        PG_FINALLY();
        {
index 1d7db41d172dfb3dc46c71e091659043b1568286..2cd8546d4717f9e584c7f91c67dbaeef8b9fdcfe 100644 (file)
@@ -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
index 9a0d5d59ef6a6dbb49c893c667f0c46860376d10..f1fd7f7e8b235b54c9be39c8bb43bfd5c63ef619 100644 (file)
@@ -1439,7 +1439,6 @@ ParallelQueryMain(dsm_segment *seg, shm_toc *toc)
 
                paramexec_space = dsa_get_address(area, fpes->param_exec);
                RestoreParamExecParams(paramexec_space, queryDesc->estate);
-
        }
        pwcxt.toc = toc;
        pwcxt.seg = seg;
index 27989bd723ddf8f7a197f230bdc8cb1a7ced2a2d..b000645d48b9f1d6c11a899ee718937e428835a4 100644 (file)
@@ -548,7 +548,6 @@ ExecSimpleRelationDelete(ResultRelInfo *resultRelInfo,
        {
                skip_tuple = !ExecBRDeleteTriggers(estate, epqstate, resultRelInfo,
                                                                                   tid, NULL, NULL);
-
        }
 
        if (!skip_tuple)
index 23030a32a59b84a63479fda309e0011ac0e80cd3..3223d9b24e5be7d1fbf99f33edb7fe6799ff7742 100644 (file)
@@ -4119,7 +4119,6 @@ build_pertrans_for_aggref(AggStatePerTrans pertrans,
                                                                 2,
                                                                 InvalidOid,
                                                                 (void *) aggstate, NULL);
-
        }
 
        /*
index edb8972c5bf088ee7c45a4ada4e2f7390e22e495..864e3baf86b2e5a2879aa148031abe1ad430e94f 100644 (file)
@@ -1674,5 +1674,4 @@ ExecReScanMergeJoin(MergeJoinState *node)
                ExecReScan(node->js.ps.lefttree);
        if (node->js.ps.righttree->chgParam == NULL)
                ExecReScan(node->js.ps.righttree);
-
 }
index a3355860c3e4fa322fa79e545137f5360cb01618..661f15272b75a76a51befcff2a60ff50ed058f7e 100644 (file)
@@ -192,7 +192,6 @@ slot_compile_deform(LLVMJitContext *context, TupleDesc desc,
                v_tupleheaderp =
                        l_load_struct_gep(b, v_heapslot, FIELDNO_HEAPTUPLETABLESLOT_TUPLE,
                                                          "tupleheader");
-
        }
        else if (ops == &TTSOpsMinimalTuple)
        {
@@ -357,7 +356,6 @@ slot_compile_deform(LLVMJitContext *context, TupleDesc desc,
 
                        LLVMAddCase(v_switch, v_attno, attcheckattnoblocks[attnum]);
                }
-
        }
        else
        {
index 9c8f341d96668fca20474a5f8652fa989d969889..b6b6512ef1fce3d1aab50f2b032571127979de6e 100644 (file)
@@ -2173,7 +2173,6 @@ llvm_compile_expr(ExprState *state)
                                                                                  "");
 
                                                        LLVMBuildBr(b, opblocks[opno + 1]);
-
                                                }
 
                                                LLVMPositionBuilderAtEnd(b, b_no_init);
index cbd17b790d81d1269ee547eb0af0e6ed82ec4384..327a4b42af7a628c09f210fc250fab9ff30941fb 100644 (file)
@@ -1775,7 +1775,6 @@ parse_hba_auth_opt(char *name, char *val, HbaLine *hbaline,
                        hbaline->pam_use_hostname = true;
                else
                        hbaline->pam_use_hostname = false;
-
        }
        else if (strcmp(name, "ldapurl") == 0)
        {
index 3b8d2fe5601e21b9d32dc05bd9dfef55984148b6..34cc53af53e58b0157a9598b1de11d1356a966ff 100644 (file)
@@ -115,7 +115,6 @@ cx(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring,
                for (i = 0; i < num_gene; i++)
                        if (tour1[i] != offspring[i])
                                num_diffs++;
-
        }
 
        return num_diffs;
index 3b92f420e0aaa9740645a39c56507ea3a69558d4..cc0661365f6e78c4c422a71dcdd4972bbc8d12b7 100644 (file)
@@ -222,11 +222,9 @@ gimme_tour(PlannerInfo *root, Edge *edge_table, Gene *new_gene, int num_gene)
 
                /* mark this node as incorporated */
                edge_table[(int) new_gene[i - 1]].unused_edges = -1;
-
        }                                                       /* for (i=1; i<num_gene; i++) */
 
        return edge_failures;
-
 }
 
 /* remove_gene
@@ -337,7 +335,6 @@ gimme_gene(PlannerInfo *root, Edge edge, Edge *edge_table)
                        elog(ERROR, "minimum_count not set");
                else if (edge_table[(int) friend].unused_edges == minimum_edges)
                        minimum_count++;
-
        }                                                       /* for (i=0; i<edge.unused_edges; i++) */
 
 
index 10d2d0a33ae59917b6a74b6639e982447771e1a0..ede7abb4177726f39d44f51dcb0cd96b2a38b93d 100644 (file)
@@ -89,7 +89,6 @@ ox1(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring, int num_gene,
                }
                p = (p + 1) % num_gene; /* increment tour2-index */
        }
-
 }
 
 #endif                                                 /* defined(OX1) */
index 72b9b0fb871a64ef9601abf294e82dd72913dc2d..080dbc076cc0f71e29d8acf573fe3b39041a5884 100644 (file)
@@ -106,7 +106,6 @@ ox2(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring, int num_gene,
                        /* city isn't used yet, so inherit from tour2 */
                        offspring[k] = tour2[k];
        }
-
 }
 
 #endif                                                 /* defined(OX2) */
index ddbc78172c0dc79c86e64f68323cce1e83f1c226..e44fd0bae5ad9cd6d94a555e0227a955021d4cb6 100644 (file)
@@ -131,7 +131,6 @@ pmx(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring, int num_gene)
 
                                j++;
                        }
-
                }
 
                if (!(found))
@@ -140,7 +139,6 @@ pmx(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring, int num_gene)
                        indx[mx_fail] = k;
                        mx_fail++;
                }
-
        }                                                       /* ... for */
 
 
@@ -172,9 +170,7 @@ pmx(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring, int num_gene)
 
                                j++;
                        }
-
                }                                               /* ... for       */
-
        }                                                       /* ... if        */
 
 
@@ -206,12 +202,10 @@ pmx(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring, int num_gene)
 
                                                j++;
                                        }
-
                                }                               /* ... if        */
 
                                i++;
                        }                                       /* end while */
-
                }
        }                                                       /* ... for       */
 
index ad5ad3f1e575bca29146fb8af4b4e5c1beab278a..914296b53d23612a2ffb3f9ba08738461cab8a80 100644 (file)
@@ -96,15 +96,12 @@ px(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring, int num_gene,
                        {                                       /* next city in tour2 has been used */
                                tour2_index++;
                        }
-
                }
                else
                {                                               /* next position in offspring is filled */
                        offspring_index++;
                }
-
        }
-
 }
 
 #endif                                                 /* defined(PX) */
index b090b087e955002900014306c894ad73ae55ff74..9a4accb4d9da31147fabf08600c9c69332a23ec4 100644 (file)
@@ -6848,7 +6848,6 @@ create_partial_grouping_paths(PlannerInfo *root,
                                                                                           dNumPartialGroups));
                        }
                }
-
        }
 
        if (can_sort && cheapest_partial_path != NULL)
index 3dcaf8a4a5d32e9cc0d9bbe0a3af3a440ab9e24b..964a56dec4673c4d41c97a8a6ddfefd168f97543 100644 (file)
@@ -5853,7 +5853,6 @@ bgworker_should_start_now(BgWorkerStartTime start_time)
                        if (start_time == BgWorkerStart_PostmasterStart)
                                return true;
                        /* fall through */
-
        }
 
        return false;
index 0e38eff0f003067a0610fec48fd999f6a52d9a51..b0c8b6c0772df864f4f8442f9096188d0da2ec0b 100644 (file)
@@ -192,7 +192,6 @@ replorigin_check_prerequisites(bool check_slots, bool recoveryOK)
                ereport(ERROR,
                                (errcode(ERRCODE_READ_ONLY_SQL_TRANSACTION),
                                 errmsg("cannot manipulate replication origins during recovery")));
-
 }
 
 
index 83fca8a77d97a3afc058399c34e6a0647e811385..1119a12db9e059a1463aa3cb5cb33935216482ec 100644 (file)
@@ -1380,7 +1380,6 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
         * records so incremental cleanup can be performed.
         */
        return true;
-
 }
 
 /* ---
index 9181d3e8636869b9c70e5888b1a68bf56a9cf331..4171371296f6a56e18c3d0c28c5c55b98942a341 100644 (file)
@@ -600,7 +600,6 @@ slot_fill_defaults(LogicalRepRelMapEntry *rel, EState *estate,
                        defmap[num_defaults] = attnum;
                        num_defaults++;
                }
-
        }
 
        for (i = 0; i < num_defaults; i++)
index fe5accca5762a378ade53245e5daadf41d1b7e3e..b197bfd565d78444d8bfd394f4427d0d6636510d 100644 (file)
@@ -1065,8 +1065,7 @@ pgoutput_column_list_init(PGOutputData *data, List *publications,
                }
 
                ReleaseSysCache(cftuple);
-       }       /* loop all subscribed publications */
-
+       }                                                       /* loop all subscribed publications */
 }
 
 /*
index 75400a53f2fea689489437c226d6109881e7f49f..be4026139361c17741cff5d9fc40c2e548a80e7d 100644 (file)
@@ -1000,7 +1000,6 @@ parseCreateReplSlotOptions(CreateReplicationSlotCmd *cmd,
                                                (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
                                                 errmsg("unrecognized value for CREATE_REPLICATION_SLOT option \"%s\": \"%s\"",
                                                                defel->defname, action)));
-
                }
                else if (strcmp(defel->defname, "reserve_wal") == 0)
                {
index 34326d55619211de1a8160611cb4456e22333c56..b6f31849616f4507af0343d08388dbc90a09c4c2 100644 (file)
@@ -199,7 +199,6 @@ DependencyGenerator_free(DependencyGenerator state)
 {
        pfree(state->dependencies);
        pfree(state);
-
 }
 
 /* generate next combination */
index c12028ca0fee83e8592c513bdf6a33a2fad9f372..e02ea3a977c9abb07278a5daded38654362c82ed 100644 (file)
@@ -2676,7 +2676,6 @@ CheckForBufferLeaks(void)
                        PrintBufferLeakWarning(res->buffer);
                        RefCountErrors++;
                }
-
        }
 
        Assert(RefCountErrors == 0);
@@ -3652,7 +3651,6 @@ FlushRelationsAllBuffers(SMgrRelation *smgrs, int nrels)
                                        break;
                                }
                        }
-
                }
                else
                {
index 3b98e68d50fe6f4856b2934fa7e0841885f84e60..990e081aaecd1ce2421e83f5c0e74ae6463f4f24 100644 (file)
@@ -308,7 +308,6 @@ StrategyGetBuffer(BufferAccessStrategy strategy, uint32 *buf_state)
                                return buf;
                        }
                        UnlockBufHdr(buf, local_buf_state);
-
                }
        }
 
index c3aaa8bff03cba066f5149e57431adb130aa14be..9dbb4f17cf8d2a1a1ef89585542aca40ebf5a25e 100644 (file)
@@ -648,7 +648,6 @@ SetLatch(Latch *latch)
                 */
        }
 #endif
-
 }
 
 /*
index cb39fdde339165d046cbc22693396a04f64b6010..f6e98aae2986349d9d9c45f11ef8f7d1ae0ede83 100644 (file)
@@ -243,7 +243,6 @@ typedef struct ComputeXidHorizonsResult
         * session's temporary tables.
         */
        TransactionId temp_oldest_nonremovable;
-
 } ComputeXidHorizonsResult;
 
 /*
@@ -1839,7 +1838,6 @@ ComputeXidHorizons(ComputeXidHorizonsResult *h)
                        /* Catalog tables need to consider all backends in this db */
                        h->catalog_oldest_nonremovable =
                                TransactionIdOlder(h->catalog_oldest_nonremovable, xmin);
-
                }
        }
 
index c24779d0bbd44e8731a4d0888eaeaba40945e448..fef462b11026e9fbb5e8fb65c0bda16422929509 100644 (file)
@@ -1096,7 +1096,6 @@ LWLockQueueSelf(LWLock *lock, LWLockMode mode)
 #ifdef LOCK_DEBUG
        pg_atomic_fetch_add_u32(&lock->nwaiters, 1);
 #endif
-
 }
 
 /*
index 366d57ea7ac9010152d2790e22ba9f194fb6fddf..cc15396789b315f096045df27a089c176f3b8dbc 100644 (file)
@@ -563,7 +563,6 @@ compactify_tuples(itemIdCompact itemidbase, int nitems, Page page, bool presorte
 
                        /* update the line pointer to reference the new offset */
                        lp->lp_off = upper;
-
                }
 
                /* move the remaining tuples. */
@@ -669,7 +668,6 @@ compactify_tuples(itemIdCompact itemidbase, int nitems, Page page, bool presorte
 
                        /* update the line pointer to reference the new offset */
                        lp->lp_off = upper;
-
                }
 
                /* Copy the remaining chunk */
index c695d816fc6fce1d73d4bab0e9651c25070b1b6f..e1fb63100386825d7f1ac768f19db1124960653e 100644 (file)
@@ -162,7 +162,6 @@ InitSync(void)
                                                                 HASH_ELEM | HASH_BLOBS | HASH_CONTEXT);
                pendingUnlinks = NIL;
        }
-
 }
 
 /*
index 95dc2e2c8350a00115943243dc24c47537bed3a7..304cce135aa20ee84b859e6a2d9463c160186ca7 100644 (file)
@@ -2636,7 +2636,6 @@ exec_describe_statement_message(const char *stmt_name)
        }
        else
                pq_putemptymessage('n');        /* NoData */
-
 }
 
 /*
index f364a9b88a9b2507491f9fff17a719a774e33eee..0e7b7b31384f7f5351618ceb0f4fd296ca25e17b 100644 (file)
@@ -3741,7 +3741,6 @@ GetCommandLogLevel(Node *parsetree)
                                                lev = LOGSTMT_ALL;
                                                break;
                                }
-
                        }
                        break;
 
index 1b0a1e244b81a056f33898c5ac1b6c899d6760d7..edeffacc2d75a66a675613aa0f8b3757ef5c8deb 100644 (file)
@@ -569,7 +569,6 @@ pushval_morph(Datum opaque, TSQueryParserState state, char *strval, int lenval,
                }
 
                pfree(prs.words);
-
        }
        else
                pushStop(state);
@@ -720,5 +719,4 @@ websearch_to_tsquery(PG_FUNCTION_ARGS)
        PG_RETURN_DATUM(DirectFunctionCall2(websearch_to_tsquery_byid,
                                                                                ObjectIdGetDatum(cfgId),
                                                                                PointerGetDatum(in)));
-
 }
index fe469881612bd54c7f2829c0ef4f8df9aee9f6f9..27b2cca2dfb07e62de3ae7f7e10e3a4a62bca9da 100644 (file)
@@ -584,7 +584,6 @@ hlparsetext(Oid cfgId, HeadlineParsedText *prs, TSQuery query, char *buf, int bu
                        else
                                addHLParsedLex(prs, query, lexs, NULL);
                } while (norms);
-
        } while (type > 0);
 
        FunctionCall1(&(prsobj->prsend), PointerGetDatum(prsdata));
@@ -629,7 +628,6 @@ generateHeadline(HeadlineParsedText *prs)
                                        memcpy(ptr, prs->fragdelim, prs->fragdelimlen);
                                        ptr += prs->fragdelimlen;
                                }
-
                        }
                        if (wrd->replace)
                        {
index 649d9c69606af898c2becd31e242b501c7c95ab8..d9275611f08c35ab2554ed5ee7a7be18a7f23b8e 100644 (file)
@@ -328,7 +328,6 @@ pgstat_prep_database_pending(Oid dboid)
                                                                                  NULL);
 
        return entry_ref->pending;
-
 }
 
 /*
index 8bdba1c42a5d1b28342afffd7812f0492f115c7b..772c04155c32de64401f34c309a04933ac33e842 100644 (file)
@@ -3094,7 +3094,6 @@ convert_database_priv_string(text *priv_type_text)
        };
 
        return convert_any_priv_string(priv_type_text, database_priv_map);
-
 }
 
 
index da3f1b9700407268160e94398de5f22a5b228c29..63649ba7351a2a4a187bf27308392bcaddbd2ff8 100644 (file)
@@ -1489,7 +1489,6 @@ json_object(PG_FUNCTION_ARGS)
        pfree(result.data);
 
        PG_RETURN_TEXT_P(rval);
-
 }
 
 /*
index 2043f2e74afa306b89526eab2434a690df3af61b..56c588bbabd3140505234713eba1d371d3f5f330 100644 (file)
@@ -851,7 +851,6 @@ datum_to_jsonb(Datum val, bool is_null, JsonbInState *result,
                                        sem.object_field_start = jsonb_in_object_field_start;
 
                                        pg_parse_json_or_ereport(lex, &sem);
-
                                }
                                break;
                        case JSONBTYPE_JSONB:
index a682d9c97341243fb4eb1514e8b11e914ea942a0..d1356d641660c1cfc176b263bb231f903c5f73d7 100644 (file)
@@ -4168,7 +4168,6 @@ json_strip_nulls(PG_FUNCTION_ARGS)
 
        PG_RETURN_TEXT_P(cstring_to_text_with_len(state->strval->data,
                                                                                          state->strval->len));
-
 }
 
 /*
index efd8584a3d87381321ff0bf6b694cfa42102795a..67d7d67fb83b1081b5fce92dc881ee9c63453292 100644 (file)
@@ -1181,7 +1181,6 @@ multirange_minus_internal(Oid mltrngtypoid, TypeCacheEntry *rangetyp,
                                 */
                                range_count3++;
                                r2 = ++i2 >= range_count2 ? NULL : ranges2[i2];
-
                        }
                        else if (range_overlaps_internal(rangetyp, r1, r2))
                        {
@@ -1200,7 +1199,6 @@ multirange_minus_internal(Oid mltrngtypoid, TypeCacheEntry *rangetyp,
                                        break;
                                else
                                        r2 = ++i2 >= range_count2 ? NULL : ranges2[i2];
-
                        }
                        else
                        {
index f1673cc145642d2c467fc5d20336d9b7be422869..a6e043c32c5b7304ef8e8b179aa9b96ff7bd2989 100644 (file)
@@ -868,7 +868,6 @@ translate(PG_FUNCTION_ARGS)
                                target += len;
                                retlen += len;
                        }
-
                }
                else
                {
index 3296ad070ed03458bfd505cf7c3518c615e9bd1c..7e08d7fe6c2121ade56db9a7069ac57a9b8d1c83 100644 (file)
@@ -9440,7 +9440,6 @@ get_rule_expr(Node *node, deparse_context *context,
                                                        get_rule_expr_paren((Node *) xexpr->args, context, false, node);
                                                        break;
                                        }
-
                                }
                                if (xexpr->op == IS_XMLSERIALIZE)
                                        appendStringInfo(buf, " AS %s",
index fb4fb987e7f915d13ac86cdc00bce9820b03f2e3..71cbc1c3d8091d3a186ec839617eba41ea9ddfed 100644 (file)
@@ -3628,7 +3628,6 @@ estimate_num_groups_incremental(PlannerInfo *root, List *groupExprs,
                                         */
                                        if (estinfo != NULL && varinfo2->isdefault)
                                                estinfo->flags |= SELFLAG_USED_DEFAULT;
-
                                }
 
                                /* we're done with this relation */
index 70937eaa461e947f53219d93e5e034089ed67c8f..da73796eac857f128c5749c0848155f827da0db9 100644 (file)
@@ -4898,7 +4898,6 @@ timestamp_part_common(PG_FUNCTION_ARGS, bool retnumeric)
                                                                lowunits, format_type_be(TIMESTAMPOID))));
                                intresult = 0;
                }
-
        }
        else
        {
@@ -5123,7 +5122,6 @@ timestamptz_part_common(PG_FUNCTION_ARGS, bool retnumeric)
                                                                lowunits, format_type_be(TIMESTAMPTZOID))));
                                intresult = 0;
                }
-
        }
        else if (type == RESERV)
        {
index 8ba9ef22f566fd9c18e522d4b59c3bcf73931e1a..addc34915188adf57dfb191d6f06c532aee0971f 100644 (file)
@@ -2196,7 +2196,6 @@ insertStatEntry(MemoryContext persistentContext, TSVectorStat *stat, TSVector tx
                        else
                                pnode->right = node;
                }
-
        }
        else
        {
index ec073e1ed061ead28a5e8c74c7f830ee501d7e98..6ae7c1f50b890e1b62b88719b2d64efc193fd321 100644 (file)
@@ -1710,7 +1710,6 @@ SearchCatCacheList(CatCache *cache,
                 * we'd better do so before we start marking the members as belonging
                 * to the list.
                 */
-
        }
        PG_CATCH();
        {
@@ -1962,7 +1961,6 @@ CatCacheCopyKeys(TupleDesc tupdesc, int nkeys, int *attnos,
                                                           att->attbyval,
                                                           att->attlen);
        }
-
 }
 
 /*
index 72778b896a2dc5e13c31659b679ca4017bcd1b02..55ee5423afbc9966486f604409588ea466742a76 100644 (file)
@@ -2683,7 +2683,6 @@ log_line_prefix(StringInfo buf, ErrorData *edata)
                                                appendStringInfo(buf, "%*s", padding, psdisp);
                                        else
                                                appendBinaryStringInfo(buf, psdisp, displen);
-
                                }
                                else if (padding != 0)
                                        appendStringInfoSpaces(buf,
@@ -2722,7 +2721,6 @@ log_line_prefix(StringInfo buf, ErrorData *edata)
                                                        appendStringInfo(buf, "(%s)",
                                                                                         MyProcPort->remote_port);
                                        }
-
                                }
                                else if (padding != 0)
                                        appendStringInfoSpaces(buf,
index 9e0f2620883dc2613d26d69fcc49d37f5de7654b..8e9b71375ce7777b2e2e319db0028eceacdfee8d 100644 (file)
@@ -5906,7 +5906,6 @@ InitializeWalConsistencyChecking(void)
                /* checking should not be deferred again */
                Assert(!check_wal_consistency_checking_deferred);
        }
-
 }
 
 /*
index 56ed496386eb6dd66c7da64c378146af3a6ceb11..e530e272e0577ac130f6dde78d5ff9c1681d80da 100644 (file)
@@ -620,7 +620,6 @@ GenerationBlockMarkEmpty(GenerationBlock *block)
        block->nchunks = 0;
        block->nfree = 0;
        block->freeptr = ((char *) block) + Generation_BLOCKHDRSZ;
-
 }
 
 /*
index 3236b1b9195bb8a38fcf80affc87c5199b55fdd6..ceb4b0e3f7518a001fc0ca2de418006a73b6b386 100644 (file)
@@ -896,7 +896,6 @@ CreateAuxProcessResourceOwner(void)
         * owner.  (This needs to run after, e.g., ShutdownXLOG.)
         */
        on_shmem_exit(ReleaseAuxProcessResourcesCallback, 0);
-
 }
 
 /*
index 571fb95532735cae5f675779beea4fff45374f59..1174e1a31c9605df3c40c78a349121445cfa7de0 100644 (file)
@@ -3186,7 +3186,6 @@ mergeonerun(Tuplesortstate *state)
                {
                        stup.srctape = srcTapeIndex;
                        tuplesort_heap_replace_top(state, &stup);
-
                }
                else
                {
index ab826da6505fcffe427174a80f55e73dcc37d3c6..1cb4a5b0d21430756c9578c5d81c71134082d4da 100644 (file)
@@ -2407,7 +2407,6 @@ setup_locale_encoding(void)
        if (!check_locale_encoding(lc_ctype, encodingid) ||
                !check_locale_encoding(lc_collate, encodingid))
                exit(1);                                /* check_locale_encoding printed the error */
-
 }
 
 
@@ -2486,7 +2485,6 @@ setup_text_search(void)
 
        printf(_("The default text search configuration will be set to \"%s\".\n"),
                   default_text_search_config);
-
 }
 
 
index 6ef3d6142116ea4729105689679088612d80e13c..79a723885ed895c11f6668d937d477ab02980801 100644 (file)
@@ -1373,7 +1373,6 @@ dumpDatabases(PGconn *conn)
                                pg_fatal("could not re-open the output file \"%s\": %m",
                                                 filename);
                }
-
        }
 
        PQclear(res);
index 87b9f75f2c02d71479327fc32ca60c804a7cb701..c6792dafae313b40ccfe9ca05f17dcad84ecb18c 100644 (file)
@@ -98,7 +98,6 @@ extractPageMap(const char *datadir, XLogRecPtr startpoint, int tliIndex,
                }
 
                extractPageInfo(xlogreader);
-
        } while (xlogreader->EndRecPtr < endpoint);
 
        /*
index 6671a8415028e69df42fa9672903ff85a2d35615..bd18b4491d5dda981bf6634616ea2bc6fabae14c 100644 (file)
@@ -740,8 +740,6 @@ verify_file_checksum(verifier_context *context, manifest_file *m,
                        close(fd);
                        return;
                }
-
-
        }
        if (rc < 0)
                report_backup_error(context, "could not read file \"%s\": %m",
index e7377d4583f9cccd4f7899360a223eb24e0ab4a4..1a2c6bc7f5bd1e0a6b02f13f3bb52e0641fe41e1 100644 (file)
@@ -2622,7 +2622,6 @@ describeOneTableDetails(const char *schemaname,
                                                                          PQgetvalue(result, i, 4));
 
                                printTableAddFooter(&cont, buf.data);
-
                        }
                        PQclear(result);
                }
@@ -3172,7 +3171,6 @@ describeOneTableDetails(const char *schemaname,
                                                        case 4:
                                                                printfPQExpBuffer(&buf, _("Triggers firing on replica only:"));
                                                                break;
-
                                                }
                                                printTableAddFooter(&cont, buf.data);
                                                have_heading = true;
index 10ab390531ba9df4e83e6c6e13b0248c2a46d923..509e6422b7eb1a76bf91ac88c6efa35b4c6bdccc 100644 (file)
@@ -316,7 +316,6 @@ get_prompt(promptStatus_t status, ConditionalStack cstack)
                                        buf[0] = *p;
                                        buf[1] = '\0';
                                        break;
-
                        }
                        esc = false;
                }
index 6666077a934bf3ac22db8598bcb8a9c842d1fc5b..98e4ef09426ac7eb2c18bd91551abaf106951939 100644 (file)
@@ -658,7 +658,6 @@ json_lex(JsonLexContext *lex)
                                                lex->token_type = JSON_TOKEN_FALSE;
                                        else
                                                return JSON_INVALID_TOKEN;
-
                                }
                }                                               /* end of switch */
        }
@@ -856,7 +855,6 @@ json_lex_string(JsonLexContext *lex)
                                lex->token_terminator = s + pg_encoding_mblen_bounded(lex->input_encoding, s);
                                return JSON_ESCAPING_INVALID;
                        }
-
                }
                else if (lex->strval != NULL)
                {
@@ -865,7 +863,6 @@ json_lex_string(JsonLexContext *lex)
 
                        appendStringInfoChar(lex->strval, *s);
                }
-
        }
 
        if (hi_surrogate != -1)
index dcdb2e0d0cb4af4306e5ab3a943c7e552f12e1c5..fe676a971b93a1d9c22fbb2b813861197a87dfdc 100644 (file)
@@ -1173,7 +1173,6 @@ print_aligned_text(const printTableContent *cont, FILE *fout, bool is_pager)
                        if (opt_border == 2)
                                fputs(dformat->rightvrule, fout);
                        fputc('\n', fout);
-
                } while (more_lines);
        }
 
index a2166b1e12f9e85992496f10f58ef3acebe07a70..8dfcabe3b5099567237a4d363af8f8985237c3a0 100644 (file)
@@ -315,7 +315,6 @@ ECPGconnect(int lineno, int c, const char *name, const char *user, const char *p
                        ecpg_free(dbname);
                        dbname = ecpg_strdup(envname, lineno);
                }
-
        }
 
        if (dbname == NULL && connection_name == NULL)
index 6bc91ef7eb6d92f810b91ce5cf45792500e017d2..a1bba42bb8f70d52e2d604717bab554cf20b79c7 100644 (file)
@@ -564,7 +564,6 @@ ecpg_get_data(const PGresult *results, int act_tuple, int act_field, int lineno,
                                                }
 
                                                pval += size;
-
                                        }
                                        break;
 
index 930b6adbe4fa83b3df8b287bfbadd2bd3b206d49..6a7ef0bbf679bed5d066ef0fa4e77e5733cc6242 100644 (file)
@@ -1392,7 +1392,6 @@ ecpg_build_params(struct statement *stmt)
                                if (sqlda->sqln == desc_counter)
                                        desc_counter = 0;
                        }
-
                }
                else
                {
index b8dbe5e7f3bde0ba86a7a6310ba28e8d1da29d7b..1eef1ec044cde2dc8151b7d96d72ff835ab841bd 100644 (file)
@@ -191,7 +191,6 @@ ECPGtransactionStatus(const char *connection_name)
        }
 
        return PQtransactionStatus(con->connection);
-
 }
 
 bool
index e8a8a0f0ed3edaaa72e634a91c8e804c2914bc27..e0fae3d5f1da2fdf37896964d18b0522674cf681 100644 (file)
@@ -1740,7 +1740,6 @@ ParseDateTime(char *timestr, char *lowstr,
                {
                        (*endstr)++;
                        continue;
-
                }
                /* otherwise, something is not right... */
                else
index a7e530cb5d2dc980cce63f38a469391b22a8faa9..73bde94aaf0d83d56fa23248aa9dde5e5b764c19 100644 (file)
@@ -947,7 +947,6 @@ interval2tm(interval span, struct tm *tm, fsec_t *fsec)
        {
                tm->tm_year = span.month / MONTHS_PER_YEAR;
                tm->tm_mon = span.month % MONTHS_PER_YEAR;
-
        }
        else
        {
index dbe4eb21e277ed048375d1a0e2517cf72e9256ef..34efc9045f376ff0c918b20f801baeedf10af619 100644 (file)
@@ -1308,7 +1308,6 @@ PGTYPESnumeric_cmp(numeric *var1, numeric *var2)
 
        errno = PGTYPES_NUM_BAD_NUMERIC;
        return INT_MAX;
-
 }
 
 int
index 3f82ee54a5fb5ff95b0cad2286bc03904b35611b..54cc04addd248413a3cf2a2bc8f2aa82500aa516 100644 (file)
@@ -863,8 +863,6 @@ PGTYPEStimestamp_add_interval(timestamp * tin, interval * span, timestamp * tout
 {
        if (TIMESTAMP_NOT_FINITE(*tin))
                *tout = *tin;
-
-
        else
        {
                if (span->month != 0)
@@ -873,7 +871,6 @@ PGTYPEStimestamp_add_interval(timestamp * tin, interval * span, timestamp * tout
                                           *tm = &tt;
                        fsec_t          fsec;
 
-
                        if (timestamp2tm(*tin, NULL, tm, &fsec, NULL) != 0)
                                return -1;
                        tm->tm_mon += span->month;
@@ -898,12 +895,11 @@ PGTYPEStimestamp_add_interval(timestamp * tin, interval * span, timestamp * tout
                                return -1;
                }
 
-
                *tin += span->time;
                *tout = *tin;
        }
-       return 0;
 
+       return 0;
 }
 
 
@@ -925,6 +921,5 @@ PGTYPEStimestamp_sub_interval(timestamp * tin, interval * span, timestamp * tout
        tspan.month = -span->month;
        tspan.time = -span->time;
 
-
        return PGTYPEStimestamp_add_interval(tin, &tspan, tout);
 }
index cf554d389fa9ae9256bf9ec220370526b5abd32f..4c12f1411f7d7c8f3327c63938d0fb57a0495784 100644 (file)
@@ -664,7 +664,6 @@ PQconnectdbParams(const char *const *keywords,
                (void) connectDBComplete(conn);
 
        return conn;
-
 }
 
 /*
index 24a598b6e41f7d1b90f0bd1135e3438823c7bfb7..42d8d4616e7b5309e7bba017dd75b8dbbf893a49 100644 (file)
@@ -1432,7 +1432,6 @@ initialize_SSL(PGconn *conn)
                        }
 
                        SSLerrfree(err);
-
                }
        }
 
index 68c9bd1970e6fba88d86cab72eda0916df4c9f4f..0dd6d8ab2c241cfd0e51610642c091f5a4fca431 100644 (file)
@@ -1243,7 +1243,6 @@ pltcl_trigger_handler(PG_FUNCTION_ARGS, pltcl_call_state *call_state,
                for (i = 0; i < trigdata->tg_trigger->tgnargs; i++)
                        Tcl_ListObjAppendElement(NULL, tcl_cmd,
                                                                         Tcl_NewStringObj(utf_e2u(trigdata->tg_trigger->tgargs[i]), -1));
-
        }
        PG_CATCH();
        {
index 3e777253524d063b3d409be4bc515c7450f112a0..c85d8da3c8b31f35980557b5294575a1a9d076f3 100644 (file)
@@ -278,7 +278,6 @@ win32_langinfo(const char *ctype)
                                        strcpy(r, codepage);
                        }
                }
-
        }
 #endif
 
index 7c469fd57e885768429da403b9ecfcf8ed1096ef..b5bb5580a0f5d06b5a8984c7d0a44f1db165dd84 100644 (file)
@@ -89,5 +89,4 @@ rot13_passphrase(char *buf, int size, int rwflag, void *userdata)
        }
 
        return strlen(buf);
-
 }