mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. This set of diffs is a bit larger than typical. We've updated to pg_bsd_indent 2.1.2, which properly indents variable declarations that have multi-line initialization expressions (the continuation lines are now indented one tab stop). We've also updated to perltidy version 20230309 and changed some of its settings, which reduces its desire to add whitespace to lines to make assignments etc. line up. Going forward, that should make for fewer random-seeming changes to existing code. Discussion: https://postgr.es/m/20230428092545.qfb3y5wcu4cm75ur@alvherre.pgsql
This commit is contained in:
@ -111,7 +111,7 @@ typedef struct UpdateContext
|
||||
{
|
||||
bool updated; /* did UPDATE actually occur? */
|
||||
bool crossPartUpdate; /* was it a cross-partition update? */
|
||||
TU_UpdateIndexes updateIndexes; /* Which index updates are required? */
|
||||
TU_UpdateIndexes updateIndexes; /* Which index updates are required? */
|
||||
|
||||
/*
|
||||
* Lock mode to acquire on the latest tuple version before performing
|
||||
@ -881,7 +881,7 @@ ExecInsert(ModifyTableContext *context,
|
||||
{
|
||||
TupleDesc tdesc = CreateTupleDescCopy(slot->tts_tupleDescriptor);
|
||||
TupleDesc plan_tdesc =
|
||||
CreateTupleDescCopy(planSlot->tts_tupleDescriptor);
|
||||
CreateTupleDescCopy(planSlot->tts_tupleDescriptor);
|
||||
|
||||
resultRelInfo->ri_Slots[resultRelInfo->ri_NumSlots] =
|
||||
MakeSingleTupleTableSlot(tdesc, slot->tts_ops);
|
||||
|
Reference in New Issue
Block a user