Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1a2586c1
Commit
1a2586c1
authored
Nov 14, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rerun pgindent with updated typedef list.
parent
cdaa45fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
16 deletions
+56
-16
src/backend/commands/typecmds.c
src/backend/commands/typecmds.c
+1
-1
src/backend/utils/adt/rangetypes.c
src/backend/utils/adt/rangetypes.c
+9
-9
src/tools/pgindent/typedefs.list
src/tools/pgindent/typedefs.list
+46
-6
No files found.
src/backend/commands/typecmds.c
View file @
1a2586c1
...
@@ -1159,7 +1159,7 @@ DefineEnum(CreateEnumStmt *stmt)
...
@@ -1159,7 +1159,7 @@ DefineEnum(CreateEnumStmt *stmt)
* Registers a new range type.
* Registers a new range type.
*/
*/
void
void
DefineRange
(
CreateRangeStmt
*
stmt
)
DefineRange
(
CreateRangeStmt
*
stmt
)
{
{
char
*
typeName
;
char
*
typeName
;
char
*
rangeArrayName
;
char
*
rangeArrayName
;
...
...
src/backend/utils/adt/rangetypes.c
View file @
1a2586c1
...
@@ -59,8 +59,8 @@ static char *range_parse_bound(char *string, char *ptr, char **bound_str,
...
@@ -59,8 +59,8 @@ static char *range_parse_bound(char *string, char *ptr, char **bound_str,
bool
*
infinite
);
bool
*
infinite
);
static
char
*
range_deparse
(
char
flags
,
char
*
lbound_str
,
char
*
ubound_str
);
static
char
*
range_deparse
(
char
flags
,
char
*
lbound_str
,
char
*
ubound_str
);
static
char
*
range_bound_escape
(
char
*
in_str
);
static
char
*
range_bound_escape
(
char
*
in_str
);
static
bool
range_contains_internal
(
FunctionCallInfo
fcinfo
,
RangeType
*
r1
,
static
bool
range_contains_internal
(
FunctionCallInfo
fcinfo
,
RangeType
*
r1
,
RangeType
*
r2
);
RangeType
*
r2
);
static
Size
datum_compute_size
(
Size
sz
,
Datum
datum
,
bool
typbyval
,
static
Size
datum_compute_size
(
Size
sz
,
Datum
datum
,
bool
typbyval
,
char
typalign
,
int16
typlen
,
char
typstorage
);
char
typalign
,
int16
typlen
,
char
typstorage
);
static
Pointer
datum_write
(
Pointer
ptr
,
Datum
datum
,
bool
typbyval
,
static
Pointer
datum_write
(
Pointer
ptr
,
Datum
datum
,
bool
typbyval
,
...
@@ -1414,7 +1414,7 @@ tstzrange_subdiff(PG_FUNCTION_ARGS)
...
@@ -1414,7 +1414,7 @@ tstzrange_subdiff(PG_FUNCTION_ARGS)
* only be called by a canonicalization function.
* only be called by a canonicalization function.
*/
*/
Datum
Datum
range_serialize
(
FunctionCallInfo
fcinfo
,
RangeBound
*
lower
,
RangeBound
*
upper
,
range_serialize
(
FunctionCallInfo
fcinfo
,
RangeBound
*
lower
,
RangeBound
*
upper
,
bool
empty
)
bool
empty
)
{
{
Datum
range
;
Datum
range
;
...
@@ -1497,8 +1497,8 @@ range_serialize(FunctionCallInfo fcinfo, RangeBound * lower, RangeBound * upper,
...
@@ -1497,8 +1497,8 @@ range_serialize(FunctionCallInfo fcinfo, RangeBound * lower, RangeBound * upper,
}
}
void
void
range_deserialize
(
FunctionCallInfo
fcinfo
,
RangeType
*
range
,
RangeBound
*
lower
,
range_deserialize
(
FunctionCallInfo
fcinfo
,
RangeType
*
range
,
RangeBound
*
lower
,
RangeBound
*
upper
,
bool
*
empty
)
RangeBound
*
upper
,
bool
*
empty
)
{
{
Pointer
ptr
=
VARDATA
(
range
);
Pointer
ptr
=
VARDATA
(
range
);
char
typalign
;
char
typalign
;
...
@@ -1575,7 +1575,7 @@ range_deserialize(FunctionCallInfo fcinfo, RangeType * range, RangeBound * lower
...
@@ -1575,7 +1575,7 @@ range_deserialize(FunctionCallInfo fcinfo, RangeType * range, RangeBound * lower
* range. This should be used by most callers.
* range. This should be used by most callers.
*/
*/
Datum
Datum
make_range
(
FunctionCallInfo
fcinfo
,
RangeBound
*
lower
,
RangeBound
*
upper
,
make_range
(
FunctionCallInfo
fcinfo
,
RangeBound
*
lower
,
RangeBound
*
upper
,
bool
empty
)
bool
empty
)
{
{
Datum
range
;
Datum
range
;
...
@@ -1596,7 +1596,7 @@ make_range(FunctionCallInfo fcinfo, RangeBound * lower, RangeBound * upper,
...
@@ -1596,7 +1596,7 @@ make_range(FunctionCallInfo fcinfo, RangeBound * lower, RangeBound * upper,
}
}
int
int
range_cmp_bounds
(
FunctionCallInfo
fcinfo
,
RangeBound
*
b1
,
RangeBound
*
b2
)
range_cmp_bounds
(
FunctionCallInfo
fcinfo
,
RangeBound
*
b1
,
RangeBound
*
b2
)
{
{
int
result
;
int
result
;
...
@@ -1652,7 +1652,7 @@ make_empty_range(FunctionCallInfo fcinfo, Oid rngtypid)
...
@@ -1652,7 +1652,7 @@ make_empty_range(FunctionCallInfo fcinfo, Oid rngtypid)
*/
*/
void
void
range_gettypinfo
(
FunctionCallInfo
fcinfo
,
Oid
rngtypid
,
range_gettypinfo
(
FunctionCallInfo
fcinfo
,
Oid
rngtypid
,
RangeTypeInfo
*
rngtypinfo
)
RangeTypeInfo
*
rngtypinfo
)
{
{
RangeTypeInfo
*
cached
=
(
RangeTypeInfo
*
)
fcinfo
->
flinfo
->
fn_extra
;
RangeTypeInfo
*
cached
=
(
RangeTypeInfo
*
)
fcinfo
->
flinfo
->
fn_extra
;
...
@@ -2068,7 +2068,7 @@ range_bound_escape(char *value)
...
@@ -2068,7 +2068,7 @@ range_bound_escape(char *value)
}
}
static
bool
static
bool
range_contains_internal
(
FunctionCallInfo
fcinfo
,
RangeType
*
r1
,
RangeType
*
r2
)
range_contains_internal
(
FunctionCallInfo
fcinfo
,
RangeType
*
r1
,
RangeType
*
r2
)
{
{
RangeBound
lower1
;
RangeBound
lower1
;
RangeBound
upper1
;
RangeBound
upper1
;
...
...
src/tools/pgindent/typedefs.list
View file @
1a2586c1
...
@@ -120,6 +120,7 @@ BF_KEY
...
@@ -120,6 +120,7 @@ BF_KEY
BF_ctx
BF_ctx
BF_key
BF_key
BF_word
BF_word
BF_word_signed
BIGNUM
BIGNUM
BIO
BIO
BIO_METHOD
BIO_METHOD
...
@@ -130,6 +131,7 @@ BN_CTX
...
@@ -130,6 +131,7 @@ BN_CTX
BOOL
BOOL
BOOLEAN
BOOLEAN
BOX
BOX
BTArrayKeyInfo
BTBuildState
BTBuildState
BTCycleId
BTCycleId
BTIndexStat
BTIndexStat
...
@@ -143,6 +145,7 @@ BTScanOpaque
...
@@ -143,6 +145,7 @@ BTScanOpaque
BTScanOpaqueData
BTScanOpaqueData
BTScanPosData
BTScanPosData
BTScanPosItem
BTScanPosItem
BTSortArrayContext
BTSpool
BTSpool
BTStack
BTStack
BTStackData
BTStackData
...
@@ -273,6 +276,7 @@ CommandDest
...
@@ -273,6 +276,7 @@ CommandDest
CommandId
CommandId
CommentItem
CommentItem
CommentStmt
CommentStmt
CommonEntry
CommonTableExpr
CommonTableExpr
CompareScalarsContext
CompareScalarsContext
CompositeTypeStmt
CompositeTypeStmt
...
@@ -281,6 +285,7 @@ CompressorState
...
@@ -281,6 +285,7 @@ CompressorState
ConfigVariable
ConfigVariable
ConnStatusType
ConnStatusType
ConnType
ConnType
ConsiderSplitContext
Const
Const
ConstrCheck
ConstrCheck
ConstrType
ConstrType
...
@@ -316,6 +321,7 @@ CreateOpClassItem
...
@@ -316,6 +321,7 @@ CreateOpClassItem
CreateOpClassStmt
CreateOpClassStmt
CreateOpFamilyStmt
CreateOpFamilyStmt
CreatePLangStmt
CreatePLangStmt
CreateRangeStmt
CreateRoleStmt
CreateRoleStmt
CreateSchemaStmt
CreateSchemaStmt
CreateSchemaStmtContext
CreateSchemaStmtContext
...
@@ -347,7 +353,6 @@ DR_copy
...
@@ -347,7 +353,6 @@ DR_copy
DR_intorel
DR_intorel
DR_printtup
DR_printtup
DR_sqlfunction
DR_sqlfunction
DSA
DWORD
DWORD
DataDumperPtr
DataDumperPtr
DataPageDeleteStack
DataPageDeleteStack
...
@@ -459,6 +464,7 @@ FSMPageData
...
@@ -459,6 +464,7 @@ FSMPageData
FState
FState
FakeRelCacheEntry
FakeRelCacheEntry
FakeRelCacheEntryData
FakeRelCacheEntryData
FastPathStrongRelationLockData
FdwInfo
FdwInfo
FdwPlan
FdwPlan
FdwRoutine
FdwRoutine
...
@@ -518,6 +524,7 @@ FormData_pg_operator
...
@@ -518,6 +524,7 @@ FormData_pg_operator
FormData_pg_opfamily
FormData_pg_opfamily
FormData_pg_pltemplate
FormData_pg_pltemplate
FormData_pg_proc
FormData_pg_proc
FormData_pg_range
FormData_pg_rewrite
FormData_pg_rewrite
FormData_pg_sequence
FormData_pg_sequence
FormData_pg_shdepend
FormData_pg_shdepend
...
@@ -563,6 +570,7 @@ Form_pg_operator
...
@@ -563,6 +570,7 @@ Form_pg_operator
Form_pg_opfamily
Form_pg_opfamily
Form_pg_pltemplate
Form_pg_pltemplate
Form_pg_proc
Form_pg_proc
Form_pg_range
Form_pg_rewrite
Form_pg_rewrite
Form_pg_sequence
Form_pg_sequence
Form_pg_shdepend
Form_pg_shdepend
...
@@ -597,10 +605,14 @@ GBT_NUMKEY
...
@@ -597,10 +605,14 @@ GBT_NUMKEY
GBT_NUMKEY_R
GBT_NUMKEY_R
GBT_VARKEY
GBT_VARKEY
GBT_VARKEY_R
GBT_VARKEY_R
GISTBufferingInsertStack
GISTBuildBuffers
GISTBuildState
GISTBuildState
GISTENTRY
GISTENTRY
GISTInsertStack
GISTInsertStack
GISTInsertState
GISTInsertState
GISTNodeBuffer
GISTNodeBufferPage
GISTPageOpaque
GISTPageOpaque
GISTPageOpaqueData
GISTPageOpaqueData
GISTPageSplitInfo
GISTPageSplitInfo
...
@@ -616,6 +628,7 @@ GV
...
@@ -616,6 +628,7 @@ GV
Gene
Gene
GenericExprState
GenericExprState
GeqoPrivateData
GeqoPrivateData
GiSTOptions
GinBtree
GinBtree
GinBtreeData
GinBtreeData
GinBtreeStack
GinBtreeStack
...
@@ -637,6 +650,7 @@ GinStatsData
...
@@ -637,6 +650,7 @@ GinStatsData
GinTupleCollector
GinTupleCollector
GinVacuumState
GinVacuumState
GistBDItem
GistBDItem
GistBufferingMode
GistEntryVector
GistEntryVector
GistNSN
GistNSN
GistSplitUnion
GistSplitUnion
...
@@ -680,6 +694,7 @@ HKEY
...
@@ -680,6 +694,7 @@ HKEY
HLOCAL
HLOCAL
HMODULE
HMODULE
HOldEntry
HOldEntry
HRESULT
HSParser
HSParser
HSpool
HSpool
HStore
HStore
...
@@ -709,6 +724,7 @@ HashSkewBucket
...
@@ -709,6 +724,7 @@ HashSkewBucket
HashState
HashState
HashValueFunc
HashValueFunc
HbaLine
HbaLine
HbaToken
HeadlineParsedText
HeadlineParsedText
HeadlineWordEntry
HeadlineWordEntry
HeapPosition
HeapPosition
...
@@ -739,6 +755,8 @@ IndexBulkDeleteResult
...
@@ -739,6 +755,8 @@ IndexBulkDeleteResult
IndexElem
IndexElem
IndexInfo
IndexInfo
IndexList
IndexList
IndexOnlyScan
IndexOnlyScanState
IndexOptInfo
IndexOptInfo
IndexPath
IndexPath
IndexRuntimeKeyInfo
IndexRuntimeKeyInfo
...
@@ -853,6 +871,7 @@ LocationIndex
...
@@ -853,6 +871,7 @@ LocationIndex
LockAcquireResult
LockAcquireResult
LockData
LockData
LockInfoData
LockInfoData
LockInstanceData
LockMethod
LockMethod
LockMethodData
LockMethodData
LockRelId
LockRelId
...
@@ -939,6 +958,7 @@ ObjectAddressExtra
...
@@ -939,6 +958,7 @@ ObjectAddressExtra
ObjectAddressStack
ObjectAddressStack
ObjectAddresses
ObjectAddresses
ObjectClass
ObjectClass
ObjectPropertyType
ObjectType
ObjectType
Offset
Offset
OffsetNumber
OffsetNumber
...
@@ -952,6 +972,7 @@ OldTriggerInfo
...
@@ -952,6 +972,7 @@ OldTriggerInfo
Oldstyle_fnextra
Oldstyle_fnextra
OnCommitAction
OnCommitAction
OnCommitItem
OnCommitItem
OpBtreeInterpretation
OpClassCacheEnt
OpClassCacheEnt
OpExpr
OpExpr
OpFamilyMember
OpFamilyMember
...
@@ -1034,6 +1055,7 @@ PLpgSQL_execstate
...
@@ -1034,6 +1055,7 @@ PLpgSQL_execstate
PLpgSQL_expr
PLpgSQL_expr
PLpgSQL_func_hashkey
PLpgSQL_func_hashkey
PLpgSQL_function
PLpgSQL_function
PLpgSQL_if_elsif
PLpgSQL_nsitem
PLpgSQL_nsitem
PLpgSQL_plugin
PLpgSQL_plugin
PLpgSQL_raise_option
PLpgSQL_raise_option
...
@@ -1118,6 +1140,7 @@ PSQL_ECHO_HIDDEN
...
@@ -1118,6 +1140,7 @@ PSQL_ECHO_HIDDEN
PSQL_ERROR_ROLLBACK
PSQL_ERROR_ROLLBACK
PTOKEN_GROUPS
PTOKEN_GROUPS
PTOKEN_USER
PTOKEN_USER
PVCAggregateBehavior
PVCPlaceHolderBehavior
PVCPlaceHolderBehavior
PVOID
PVOID
PX_Alias
PX_Alias
...
@@ -1193,8 +1216,11 @@ PgStat_TableCounts
...
@@ -1193,8 +1216,11 @@ PgStat_TableCounts
PgStat_TableEntry
PgStat_TableEntry
PgStat_TableStatus
PgStat_TableStatus
PgStat_TableXactStatus
PgStat_TableXactStatus
PgXmlErrorContext
PgXmlStrictness
Pg_finfo_record
Pg_finfo_record
Pg_magic_struct
Pg_magic_struct
PickSplitSortItem
PipeProtoChunk
PipeProtoChunk
PipeProtoHeader
PipeProtoHeader
PlaceHolderInfo
PlaceHolderInfo
...
@@ -1296,11 +1322,14 @@ RSA
...
@@ -1296,11 +1322,14 @@ RSA
RTEKind
RTEKind
RWConflict
RWConflict
RWConflictPoolHeader
RWConflictPoolHeader
RangeBound
RangeFunction
RangeFunction
RangeQueryClause
RangeQueryClause
RangeSubselect
RangeSubselect
RangeTblEntry
RangeTblEntry
RangeTblRef
RangeTblRef
RangeType
RangeTypeInfo
RangeVar
RangeVar
RawColumnDefault
RawColumnDefault
ReScanForeignScan_function
ReScanForeignScan_function
...
@@ -1340,6 +1369,7 @@ RelationPtr
...
@@ -1340,6 +1369,7 @@ RelationPtr
RelativeTime
RelativeTime
RelcacheCallbackFunction
RelcacheCallbackFunction
Relids
Relids
RelocationBufferInfo
RemoveFuncStmt
RemoveFuncStmt
RemoveOpClassStmt
RemoveOpClassStmt
RemoveOpFamilyStmt
RemoveOpFamilyStmt
...
@@ -1476,6 +1506,7 @@ SlruErrorCause
...
@@ -1476,6 +1506,7 @@ SlruErrorCause
SlruFlush
SlruFlush
SlruFlushData
SlruFlushData
SlruPageStatus
SlruPageStatus
SlruScanCallback
SlruShared
SlruShared
SlruSharedData
SlruSharedData
Snapshot
Snapshot
...
@@ -1490,6 +1521,7 @@ SortGroupClause
...
@@ -1490,6 +1521,7 @@ SortGroupClause
SortState
SortState
SortTuple
SortTuple
SpecialJoinInfo
SpecialJoinInfo
SplitInterval
SplitVar
SplitVar
SplitedPageLayout
SplitedPageLayout
StackElem
StackElem
...
@@ -1849,7 +1881,6 @@ float8
...
@@ -1849,7 +1881,6 @@ float8
float8KEY
float8KEY
fmNodePtr
fmNodePtr
fmgr_hook_type
fmgr_hook_type
fpos_t
freeaddrinfo_ptr_t
freeaddrinfo_ptr_t
freefunc
freefunc
fsec_t
fsec_t
...
@@ -1895,7 +1926,6 @@ inetKEY
...
@@ -1895,7 +1926,6 @@ inetKEY
inet_struct
inet_struct
inline_error_callback_arg
inline_error_callback_arg
ino_t
ino_t
inquiry
instr_time
instr_time
int16
int16
int16KEY
int16KEY
...
@@ -1933,6 +1963,7 @@ locate_agg_of_level_context
...
@@ -1933,6 +1963,7 @@ locate_agg_of_level_context
locate_var_of_level_context
locate_var_of_level_context
locate_var_of_relation_context
locate_var_of_relation_context
locate_windowfunc_context
locate_windowfunc_context
logstreamer_param
lquery
lquery
lquery_level
lquery_level
lquery_variant
lquery_variant
...
@@ -1944,6 +1975,7 @@ mXactCacheEnt
...
@@ -1944,6 +1975,7 @@ mXactCacheEnt
macKEY
macKEY
macaddr
macaddr
mb2wchar_with_len_converter
mb2wchar_with_len_converter
mbcharacter_incrementer
mbdisplaylen_converter
mbdisplaylen_converter
mblen_converter
mblen_converter
mbverifier
mbverifier
...
@@ -2041,6 +2073,7 @@ pthread_mutex_t
...
@@ -2041,6 +2073,7 @@ pthread_mutex_t
pthread_once_t
pthread_once_t
pthread_t
pthread_t
pull_var_clause_context
pull_var_clause_context
pull_varattnos_context
pull_varnos_context
pull_varnos_context
pullup_replace_vars_context
pullup_replace_vars_context
qsort_arg_comparator
qsort_arg_comparator
...
@@ -2079,8 +2112,8 @@ rijndael_ctx
...
@@ -2079,8 +2112,8 @@ rijndael_ctx
rm_detail_t
rm_detail_t
role_auth_extra
role_auth_extra
save_buffer
save_buffer
segment_finish_callback
sequence_magic
sequence_magic
setter
shmem_startup_hook_type
shmem_startup_hook_type
sig_atomic_t
sig_atomic_t
sigjmp_buf
sigjmp_buf
...
@@ -2090,14 +2123,13 @@ size_t
...
@@ -2090,14 +2123,13 @@ size_t
slock_t
slock_t
smgrid
smgrid
sql_error_callback_arg
sql_error_callback_arg
sqlparseInfo
sqlparseState
ss_lru_item_t
ss_lru_item_t
ss_scan_location_t
ss_scan_location_t
ss_scan_locations_t
ss_scan_locations_t
ssize_t
ssize_t
stemmer_module
stemmer_module
stmtCacheEntry
stmtCacheEntry
stream_continue_callback
substitute_actual_parameters_context
substitute_actual_parameters_context
substitute_actual_srf_parameters_context
substitute_actual_srf_parameters_context
substitute_multiple_relids_context
substitute_multiple_relids_context
...
@@ -2170,11 +2202,14 @@ xl_heap_header
...
@@ -2170,11 +2202,14 @@ xl_heap_header
xl_heap_inplace
xl_heap_inplace
xl_heap_insert
xl_heap_insert
xl_heap_lock
xl_heap_lock
xl_heap_multi_insert
xl_heap_newpage
xl_heap_newpage
xl_heap_update
xl_heap_update
xl_heap_visible
xl_heaptid
xl_heaptid
xl_invalid_page
xl_invalid_page
xl_invalid_page_key
xl_invalid_page_key
xl_multi_insert_tuple
xl_multixact_create
xl_multixact_create
xl_parameter_change
xl_parameter_change
xl_relmap_update
xl_relmap_update
...
@@ -2191,14 +2226,19 @@ xl_xact_abort
...
@@ -2191,14 +2226,19 @@ xl_xact_abort
xl_xact_abort_prepared
xl_xact_abort_prepared
xl_xact_assignment
xl_xact_assignment
xl_xact_commit
xl_xact_commit
xl_xact_commit_compact
xl_xact_commit_prepared
xl_xact_commit_prepared
xmlBuffer
xmlBuffer
xmlBufferPtr
xmlBufferPtr
xmlChar
xmlChar
xmlDocPtr
xmlDocPtr
xmlErrorPtr
xmlGenericErrorFunc
xmlNodePtr
xmlNodePtr
xmlNodeSetPtr
xmlNodeSetPtr
xmlParserCtxtPtr
xmlParserCtxtPtr
xmlParserInputPtr
xmlStructuredErrorFunc
xmlTextWriter
xmlTextWriter
xmlTextWriterPtr
xmlTextWriterPtr
xmlXPathCompExprPtr
xmlXPathCompExprPtr
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment