mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Massive commit to run PGINDENT on all *.c and *.h files.
This commit is contained in:
@ -1,50 +1,52 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* skey.h--
|
||||
* POSTGRES scan key definitions.
|
||||
* POSTGRES scan key definitions.
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: skey.h,v 1.3 1996/11/04 07:45:26 scrappy Exp $
|
||||
* $Id: skey.h,v 1.4 1997/09/07 04:56:13 momjian Exp $
|
||||
*
|
||||
*
|
||||
* Note:
|
||||
* Needs more accessor/assignment routines.
|
||||
* Needs more accessor/assignment routines.
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef SKEY_H
|
||||
#ifndef SKEY_H
|
||||
#define SKEY_H
|
||||
|
||||
#include <access/attnum.h>
|
||||
|
||||
typedef struct ScanKeyData {
|
||||
bits16 sk_flags; /* flags */
|
||||
AttrNumber sk_attno; /* domain number */
|
||||
RegProcedure sk_procedure; /* procedure OID */
|
||||
func_ptr sk_func;
|
||||
int32 sk_nargs;
|
||||
Datum sk_argument; /* data to compare */
|
||||
} ScanKeyData;
|
||||
typedef struct ScanKeyData
|
||||
{
|
||||
bits16 sk_flags; /* flags */
|
||||
AttrNumber sk_attno; /* domain number */
|
||||
RegProcedure sk_procedure; /* procedure OID */
|
||||
func_ptr sk_func;
|
||||
int32 sk_nargs;
|
||||
Datum sk_argument;/* data to compare */
|
||||
} ScanKeyData;
|
||||
|
||||
typedef ScanKeyData *ScanKey;
|
||||
typedef ScanKeyData *ScanKey;
|
||||
|
||||
|
||||
#define SK_ISNULL 0x1
|
||||
#define SK_UNARY 0x2
|
||||
#define SK_NEGATE 0x4
|
||||
#define SK_COMMUTE 0x8
|
||||
#define SK_ISNULL 0x1
|
||||
#define SK_UNARY 0x2
|
||||
#define SK_NEGATE 0x4
|
||||
#define SK_COMMUTE 0x8
|
||||
|
||||
#define ScanUnmarked 0x01
|
||||
#define ScanUnmarked 0x01
|
||||
#define ScanUncheckedPrevious 0x02
|
||||
#define ScanUncheckedNext 0x04
|
||||
#define ScanUncheckedNext 0x04
|
||||
|
||||
|
||||
/*
|
||||
* prototypes for functions in access/common/scankey.c
|
||||
*/
|
||||
extern void ScanKeyEntrySetIllegal(ScanKey entry);
|
||||
extern void ScanKeyEntryInitialize(ScanKey entry, bits16 flags,
|
||||
AttrNumber attributeNumber, RegProcedure procedure, Datum argument);
|
||||
extern void ScanKeyEntrySetIllegal(ScanKey entry);
|
||||
extern void
|
||||
ScanKeyEntryInitialize(ScanKey entry, bits16 flags,
|
||||
AttrNumber attributeNumber, RegProcedure procedure, Datum argument);
|
||||
|
||||
#endif /* SKEY_H */
|
||||
#endif /* SKEY_H */
|
||||
|
Reference in New Issue
Block a user