From acddbe221b084956a0efd6e4b6c6586e8fd994d7 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 13 Dec 2016 10:51:32 -0500 Subject: [PATCH] Update typedefs.list So developers can more easily run pgindent locally --- src/tools/pgindent/typedefs.list | 115 ++++++++++++++++++++++--------- 1 file changed, 82 insertions(+), 33 deletions(-) diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index c8cc8f75683..993880da43e 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -1,7 +1,6 @@ ABITVEC ACCESS_ALLOWED_ACE ACL_SIZE_INFORMATION -AES_KEY AFFIX ASN1_INTEGER ASN1_OBJECT @@ -37,14 +36,12 @@ AfterTriggerSharedData AfterTriggersData Agg AggClauseCosts -AggHashEntry AggInfo AggPath AggSplit AggState AggStatePerAgg AggStatePerGroup -AggStatePerGroupData AggStatePerPhase AggStatePerTrans AggStrategy @@ -139,7 +136,6 @@ AuthRequest AutoVacOpts AutoVacuumShmemStruct AuxProcType -BF_KEY BF_ctx BF_key BF_word @@ -263,7 +259,6 @@ BuiltinScript BulkInsertState CACHESIGN CAC_state -CAST_KEY CEOUC_WAIT_MODE CFuncHashTabEntry CHAR @@ -354,12 +349,14 @@ CompositeTypeStmt CompoundAffixFlag CompressionAlgorithm CompressorState +ConditionVariable ConfigData ConfigVariable ConnCacheEntry ConnCacheKey ConnStatusType ConnType +ConnectionStateEnum ConsiderSplitContext Const ConstrCheck @@ -434,8 +431,6 @@ DBState DCHCacheEntry DEADLOCK_INFO DECountItem -DES_cblock -DES_key_schedule DH DIR DNSServiceErrorType @@ -473,6 +468,8 @@ DictSnowball DictSubState DictSyn DictThesaurus +DirectoryMethodData +DirectoryMethodFile DisableTimeoutParams DiscardMode DiscardStmt @@ -508,6 +505,8 @@ EOM_get_flat_size_method EPQState EPlan EState +EVP_CIPHER +EVP_CIPHER_CTX EVP_MD EVP_MD_CTX EVP_PKEY @@ -588,7 +587,6 @@ FILETIME FSMAddress FSMPage FSMPageData -FState FakeRelCacheEntry FakeRelCacheEntryData FastPathStrongRelationLockData @@ -654,6 +652,7 @@ FormData_pg_namespace FormData_pg_opclass FormData_pg_operator FormData_pg_opfamily +FormData_pg_partitioned_table FormData_pg_pltemplate FormData_pg_policy FormData_pg_proc @@ -704,6 +703,7 @@ Form_pg_namespace Form_pg_opclass Form_pg_operator Form_pg_opfamily +Form_pg_partitioned_table Form_pg_pltemplate Form_pg_policy Form_pg_proc @@ -861,6 +861,7 @@ HASHELEMENT HASHHDR HASHSEGMENT HASH_SEQ_STATUS +HCRYPTPROV HE HEntry HIST_ENTRY @@ -891,8 +892,6 @@ HashMetaPageData HashPageOpaque HashPageOpaqueData HashPath -HashScanList -HashScanListData HashScanOpaque HashScanOpaqueData HashSkewBucket @@ -978,6 +977,7 @@ Interval IntoClause InvalidationChunk InvalidationListHeader +InvertedWalkNextStep IpcMemoryId IpcMemoryKey IpcSemaphoreId @@ -988,8 +988,6 @@ IspellDict Item ItemId ItemIdData -ItemLength -ItemOffset ItemPointer ItemPointerData IterateDirectModify_function @@ -1131,8 +1129,6 @@ MEMORY_BASIC_INFORMATION MINIDUMPWRITEDUMP MINIDUMP_TYPE MJEvalResult -MasterEndParallelItemPtr -MasterStartParallelItemPtr Material MaterialPath MaterialState @@ -1206,12 +1202,14 @@ Numeric NumericAggState NumericDigit NumericSortSupport +NumericSumAccum NumericVar OM_uint32 OP OSAPerGroupState OSAPerQueryState OSInfo +OSSLCipher OSSLDigest OSVERSIONINFO OVERLAPPED @@ -1327,6 +1325,7 @@ PLpgSQL_arrayelem PLpgSQL_case_when PLpgSQL_condition PLpgSQL_datum +PLpgSQL_datum_type PLpgSQL_diag_item PLpgSQL_exception PLpgSQL_exception_block @@ -1334,10 +1333,14 @@ PLpgSQL_execstate PLpgSQL_expr PLpgSQL_func_hashkey PLpgSQL_function +PLpgSQL_getdiag_kind PLpgSQL_if_elsif +PLpgSQL_label_type PLpgSQL_nsitem +PLpgSQL_nsitem_type PLpgSQL_plugin PLpgSQL_raise_option +PLpgSQL_raise_option_type PLpgSQL_rec PLpgSQL_recfield PLpgSQL_resolve_option @@ -1367,9 +1370,11 @@ PLpgSQL_stmt_raise PLpgSQL_stmt_return PLpgSQL_stmt_return_next PLpgSQL_stmt_return_query +PLpgSQL_stmt_type PLpgSQL_stmt_while PLpgSQL_trigtype PLpgSQL_type +PLpgSQL_type_type PLpgSQL_var PLpgSQL_variable PLwdatum @@ -1382,6 +1387,7 @@ PLyExecutionContext PLyObToDatum PLyObToDatumFunc PLyObToTuple +PLyObject_AsString_t PLyPlanObject PLyProcedure PLyProcedureEntry @@ -1395,6 +1401,7 @@ PLyTupleToOb PLyTypeInfo PLyTypeInput PLyTypeOutput +PLyUnicode_FromStringAndSize_t PMINIDUMP_CALLBACK_INFORMATION PMINIDUMP_EXCEPTION_INFORMATION PMINIDUMP_USER_STREAM_INFORMATION @@ -1428,6 +1435,7 @@ PSQL_ECHO_HIDDEN PSQL_ERROR_ROLLBACK PTOKEN_GROUPS PTOKEN_USER +PUTENVPROC PVOID PX_Alias PX_Cipher @@ -1442,7 +1450,7 @@ PageHeaderData PageXLogRecPtr PagetableEntry Pairs -ParallelArgs +ParallelCompletionPtr ParallelContext ParallelExecutorInfo ParallelHeapScanDesc @@ -1469,11 +1477,21 @@ ParsedText ParsedWord ParserSetupHook ParserState +PartInfo +PartitionBoundInfo PartitionBoundInfoData PartitionBoundSpec PartitionCmd +PartitionDesc +PartitionDescData +PartitionDispatch +PartitionDispatchData +PartitionElem +PartitionKey PartitionListValue PartitionRangeBound +PartitionRangeDatum +PartitionSpec Path PathClauseUsage PathCostComparison @@ -1651,6 +1669,7 @@ QueuePosition RBNode RBOrderControl RBTree +RBTreeIterator REPARSE_JUNCTION_DATA_BUFFER RIX RI_CompareHashEntry @@ -1658,7 +1677,6 @@ RI_CompareKey RI_ConstraintInfo RI_QueryHashEntry RI_QueryKey -RSA RTEKind RWConflict RWConflictPoolHeader @@ -1728,6 +1746,9 @@ RelfilenodeMapEntry RelfilenodeMapKey Relids RelocationBufferInfo +RelptrFreePageBtree +RelptrFreePageManager +RelptrFreePageSpanLeader RenameStmt ReopenPtr ReorderBuffer @@ -1810,9 +1831,6 @@ SERIALIZABLEXIDTAG SERVICE_STATUS SERVICE_STATUS_HANDLE SERVICE_TABLE_ENTRY -SH_TYPE -SH_ITERATOR -SH_STATUS SHA1_CTX SHA224_CTX SHA256_CTX @@ -1838,6 +1856,8 @@ SQLDropObject SQLFunctionCache SQLFunctionCachePtr SQLFunctionParseInfoPtr +SQLValueFunction +SQLValueFunctionOp SSL SSLExtensionInfoContext SSL_CTX @@ -1881,11 +1901,9 @@ SetConstraintTriggerData SetFunctionReturnMode SetOp SetOpCmd -SetOpHashEntry SetOpPath SetOpState SetOpStatePerGroup -SetOpStatePerGroupData SetOpStrategy SetOperation SetOperationStmt @@ -1918,6 +1936,7 @@ SimpleStringList SimpleStringListCell SingleBoundSortItem Size +SlabSlot SlotNumber SlruCtl SlruCtlData @@ -2065,6 +2084,8 @@ TableSpaceCacheEntry TableSpaceOpts TablespaceList TablespaceListCell +TarMethodData +TarMethodFile TargetEntry TclExceptionNameMap Tcl_DString @@ -2131,6 +2152,7 @@ TriggerDesc TriggerEvent TriggerFlags TriggerInfo +TriggerTransition TruncateStmt TsmRoutine TupOutputState @@ -2223,6 +2245,7 @@ WALInsertLock WALInsertLockPadded WCHAR WCOKind +WFW_WaitOption WIDGET WIN32_FILE_ATTRIBUTE_DATA WORD @@ -2232,14 +2255,23 @@ WSADATA WSANETWORKEVENTS WSAPROTOCOL_INFO WaitEvent +WaitEventActivity +WaitEventClient +WaitEventIPC WaitEventSet +WaitEventTimeout +WalCloseMethod WalLevel WalRcvData WalRcvState +WalReceiverConn +WalReceiverFunctionsType WalSnd WalSndCtlData WalSndSendDataCallback WalSndState +WalWriteMethod +Walfile WholeRowVarExprState WindowAgg WindowAggPath @@ -2374,7 +2406,6 @@ brin_column_state bytea cached_re_str cashKEY -celt cfp check_agg_arguments_context check_function_callback @@ -2391,6 +2422,7 @@ codes_t coercion collation_cache_entry color +colormaprange config_var_value contain_aggs_of_level_context convert_testexpr_context @@ -2426,7 +2458,10 @@ dsa_area dsa_area_control dsa_area_pool dsa_area_span +dsa_handle +dsa_pointer dsa_segment_header +dsa_segment_index dsa_segment_map dsm_control_header dsm_control_item @@ -2513,12 +2548,16 @@ gss_ctx_id_t gss_name_t gtrgm_consistent_cache gzFile -has_parallel_hazard_arg hashfunc hbaPort heap_page_items_state help_handler hlCheck +hstoreCheckKeyLen_t +hstoreCheckValLen_t +hstorePairs_t +hstoreUniquePairs_t +hstoreUpgrade_t hyperLogLogState import_error_callback_arg indexed_tlist @@ -2557,6 +2596,7 @@ lclContext lclTocEntry leafSegmentInfo line_t +lineno_t locale_t locate_agg_of_level_context locate_var_of_level_context @@ -2573,6 +2613,7 @@ mXactCacheEnt macKEY macaddr map_variable_attnos_context +max_parallel_hazard_context mb2wchar_with_len_converter mbcharacter_incrementer mbdisplaylen_converter @@ -2604,19 +2645,23 @@ oidKEY oidvector on_dsm_detach_callback on_exit_nicely_callback +ossl_EVP_cipher_func ossldata output_type +pagetable_hash +pagetable_iterator pairingheap pairingheap_comparator pairingheap_node parallel_worker_main_type parse_error_callback_arg -pcolor pendingPosition pgParameterStatus pg_atomic_flag pg_atomic_uint32 pg_atomic_uint64 +pg_conn_host +pg_conn_host_type pg_conv_map pg_crc32 pg_crc32c @@ -2670,6 +2715,7 @@ plperl_query_entry plpgsql_CastHashEntry plpgsql_CastHashKey plpgsql_HashEnt +pltcl_call_state pltcl_interp_desc pltcl_proc_desc pltcl_proc_key @@ -2699,6 +2745,7 @@ pthread_key_t pthread_mutex_t pthread_once_t pthread_t +ptrdiff_t pull_var_clause_context pull_varattnos_context pull_varnos_context @@ -2746,6 +2793,7 @@ role_auth_extra row_security_policy_hook_type save_buffer security_barrier_replace_vars_context +sem_t sequence_magic set_join_pathlist_hook_type set_rel_pathlist_hook_type @@ -2859,6 +2907,7 @@ unicode_linestyle unit_conversion unlogged_relation_entry utf_local_conversion_func +uuidKEY uuid_rc_t uuid_sortsupport_state uuid_t @@ -2871,15 +2920,15 @@ varattrib_1b varattrib_1b_e varattrib_4b vbits -walrcv_connect_type -walrcv_disconnect_type -walrcv_endstreaming_type -walrcv_get_conninfo_type -walrcv_identify_system_type -walrcv_readtimelinehistoryfile_type -walrcv_receive_type -walrcv_send_type -walrcv_startstreaming_type +walrcv_connect_fn +walrcv_disconnect_fn +walrcv_endstreaming_fn +walrcv_get_conninfo_fn +walrcv_identify_system_fn +walrcv_readtimelinehistoryfile_fn +walrcv_receive_fn +walrcv_send_fn +walrcv_startstreaming_fn wchar2mb_with_len_converter wchar_t win32_deadchild_waitinfo