mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Add typdefs to pgindent run.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.14 1997/09/08 02:20:10 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.15 1997/09/08 20:53:53 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This file contains only the public interface routines.
|
||||
@@ -45,7 +45,7 @@ void
|
||||
hashbuild(Relation heap,
|
||||
Relation index,
|
||||
int natts,
|
||||
AttrNumber * attnum,
|
||||
AttrNumber *attnum,
|
||||
IndexStrategy istrat,
|
||||
uint16 pcount,
|
||||
Datum * params,
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.11 1997/09/08 02:20:17 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.12 1997/09/08 20:53:59 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Overflow pages look like ordinary relation pages.
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
static OverflowPageAddress _hash_getovfladdr(Relation rel, Buffer * metabufp);
|
||||
static OverflowPageAddress _hash_getovfladdr(Relation rel, Buffer *metabufp);
|
||||
static uint32 _hash_firstfreebit(uint32 map);
|
||||
|
||||
/*
|
||||
@@ -40,7 +40,7 @@ static uint32 _hash_firstfreebit(uint32 map);
|
||||
*
|
||||
*/
|
||||
Buffer
|
||||
_hash_addovflpage(Relation rel, Buffer * metabufp, Buffer buf)
|
||||
_hash_addovflpage(Relation rel, Buffer *metabufp, Buffer buf)
|
||||
{
|
||||
|
||||
OverflowPageAddress oaddr;
|
||||
@@ -100,7 +100,7 @@ _hash_addovflpage(Relation rel, Buffer * metabufp, Buffer buf)
|
||||
*
|
||||
*/
|
||||
static OverflowPageAddress
|
||||
_hash_getovfladdr(Relation rel, Buffer * metabufp)
|
||||
_hash_getovfladdr(Relation rel, Buffer *metabufp)
|
||||
{
|
||||
HashMetaPage metap;
|
||||
Buffer mapbuf = 0;
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.11 1997/09/08 02:20:18 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.12 1997/09/08 20:54:03 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Postgres hash pages look like ordinary relation pages. The opaque
|
||||
@@ -270,7 +270,7 @@ _hash_wrtnorelbuf(Relation rel, Buffer buf)
|
||||
|
||||
Page
|
||||
_hash_chgbufaccess(Relation rel,
|
||||
Buffer * bufp,
|
||||
Buffer *bufp,
|
||||
int from_access,
|
||||
int to_access)
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.12 1997/09/08 02:20:20 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.13 1997/09/08 20:54:05 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -31,7 +31,7 @@ void
|
||||
_hash_search(Relation rel,
|
||||
int keysz,
|
||||
ScanKey scankey,
|
||||
Buffer * bufP,
|
||||
Buffer *bufP,
|
||||
HashMetaPage metap)
|
||||
{
|
||||
BlockNumber blkno;
|
||||
@@ -127,7 +127,7 @@ _hash_next(IndexScanDesc scan, ScanDirection dir)
|
||||
|
||||
static void
|
||||
_hash_readnext(Relation rel,
|
||||
Buffer * bufp, Page * pagep, HashPageOpaque * opaquep)
|
||||
Buffer *bufp, Page * pagep, HashPageOpaque * opaquep)
|
||||
{
|
||||
BlockNumber blkno;
|
||||
|
||||
@@ -146,7 +146,7 @@ _hash_readnext(Relation rel,
|
||||
|
||||
static void
|
||||
_hash_readprev(Relation rel,
|
||||
Buffer * bufp, Page * pagep, HashPageOpaque * opaquep)
|
||||
Buffer *bufp, Page * pagep, HashPageOpaque * opaquep)
|
||||
{
|
||||
BlockNumber blkno;
|
||||
|
||||
@@ -284,7 +284,7 @@ _hash_first(IndexScanDesc scan, ScanDirection dir)
|
||||
* 'metabuf' is released when this returns.
|
||||
*/
|
||||
bool
|
||||
_hash_step(IndexScanDesc scan, Buffer * bufP, ScanDirection dir, Buffer metabuf)
|
||||
_hash_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir, Buffer metabuf)
|
||||
{
|
||||
Relation rel;
|
||||
ItemPointer current;
|
||||
|
Reference in New Issue
Block a user