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

Commita60c4c5

Browse files
committed
Remove redundant variable pageSize in gistinitpage
In gistinitpage, pageSize variable looks redundant, instead justpass BLCKSZ. This will be consistent with its peers BloomInitPage,brin_page_init and SpGistInitPage.Author: Bharath Rupireddy <bharath.rupireddy@enterprisedb.com>Discussion:https://www.postgresql.org/message-id/flat/CALj2ACWj=V1k5591eeZK2sOg2FYuBUp6azFO8tMkBtGfXf8PMQ@mail.gmail.com
1 parent847c62e commita60c4c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/access/gist/gistutil.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,9 +756,8 @@ void
756756
gistinitpage(Pagepage,uint32f)
757757
{
758758
GISTPageOpaqueopaque;
759-
SizepageSize=BLCKSZ;
760759

761-
PageInit(page,pageSize,sizeof(GISTPageOpaqueData));
760+
PageInit(page,BLCKSZ,sizeof(GISTPageOpaqueData));
762761

763762
opaque=GistPageGetOpaque(page);
764763
opaque->rightlink=InvalidBlockNumber;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp