Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7e641a8

Browse files
authored
Merge pull request#115 from postgrespro/PGPRO-7444
Fix compiler warnings due to new checks in PostgreSQL 16
2 parents884bd51 +43465cb commit7e641a8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎src/rumget.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,6 @@ startScanEntry(RumState * rumstate, RumScanEntry entry, Snapshot snapshot)
632632
{
633633
BlockNumberrootPostingTree=RumGetPostingTree(itup);
634634
RumPostingTreeScan*gdi;
635-
Pagepage;
636635
OffsetNumbermaxoff,
637636
i;
638637
Pointerptr;
@@ -1051,7 +1050,6 @@ entryGetNextItemList(RumState * rumstate, RumScanEntry entry, Snapshot snapshot)
10511050
{
10521051
BlockNumberrootPostingTree=RumGetPostingTree(itup);
10531052
RumPostingTreeScan*gdi;
1054-
Pagepage;
10551053
OffsetNumbermaxoff,
10561054
i;
10571055
Pointerptr;

‎src/ruminsert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,11 +530,11 @@ rumHeapTupleBulkInsert(RumBuildState * buildstate, OffsetNumber attnum,
530530
/* Check existance of additional information attribute in index */
531531
if (!attr)
532532
{
533-
Form_pg_attributeattr=RumTupleDescAttr(
533+
Form_pg_attributecurrent_attr=RumTupleDescAttr(
534534
buildstate->rumstate.origTupdesc,attnum-1);
535535

536536
elog(ERROR,"additional information attribute \"%s\" is not found in index",
537-
NameStr(attr->attname));
537+
NameStr(current_attr->attname));
538538
}
539539

540540
addInfo[i]=datumCopy(addInfo[i],attr->attbyval,attr->attlen);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp