From bbc7491de10e05afc4080281311fbf4f40765dd9 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 25 Oct 2001 03:56:35 +0000 Subject: [PATCH] Add current typedef symbols to pgindent. --- src/tools/pgindent/pgindent | 208 ++++++++++++++++-------------------- 1 file changed, 90 insertions(+), 118 deletions(-) diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent index 72c4ecc917..c4069bd0ee 100755 --- a/src/tools/pgindent/pgindent +++ b/src/tools/pgindent/pgindent @@ -44,11 +44,6 @@ int pgindent_func_no_var_fix;\ # We get the list of typedef's from /src/tools/find_typedef indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l75 \ -lp -nip -npro $EXTRA_OPTS \ --TFAR \ --TDWORD \ --TBOOL \ --TRETCODE \ --TSQL_API \ -TA_Const \ -TA_Expr \ -TA_Indices \ @@ -64,6 +59,7 @@ int pgindent_func_no_var_fix;\ -TAggStatePerAgg \ -TAggStatePerAggData \ -TAggref \ +-TAlgCode \ -TAllocBlock \ -TAllocBlockData \ -TAllocChunk \ @@ -74,7 +70,6 @@ int pgindent_func_no_var_fix;\ -TAlterGroupStmt \ -TAlterTableStmt \ -TAlterUserStmt \ --TAnyInvalidation \ -TAppend \ -TAppendPath \ -TAppendState \ @@ -91,27 +86,21 @@ int pgindent_func_no_var_fix;\ -TAttrNumber \ -TAuthRequest \ -TAuthRequestPacket \ --TBOOKMARK \ --TBOOL \ -TBOX \ +-TBTBuildState \ -TBTItem \ -TBTItemData \ -TBTMetaPageData \ -TBTPageOpaque \ -TBTPageOpaqueData \ -TBTPageState \ --TBTScanList \ --TBTScanListData \ -TBTScanOpaque \ -TBTScanOpaqueData \ -TBTSpool \ -TBTStack \ -TBTStackData \ --TBUCKET_INDEX \ --TBYTE \ -TBackend \ -TBackendId \ --TBindInfoClass \ -TBitArray \ -TBitIndex \ -TBkpBlock \ @@ -120,20 +109,20 @@ int pgindent_func_no_var_fix;\ -TBlockIdData \ -TBlockNumber \ -TBoolPtr \ +-TBoolTestType \ +-TBooleanTest \ -TBpChar \ -TBucket \ -TBufFile \ -TBufFlags \ -TBuffer \ --TBufferBlindId \ -TBufferDesc \ +-TBufferLookupEnt \ -TBufferTag \ -TByte \ -TBytef \ -TCATEGORY \ -TCIRCLE \ --TCOL_INFO \ --TCONN_Status \ -TCPFunction \ -TCPPFunction \ -TCancelRequestPacket \ @@ -143,29 +132,27 @@ int pgindent_func_no_var_fix;\ -TCash \ -TCatCTup \ -TCatCache \ --TCatalogInvalidationData \ --TChangeACLStmt \ +-TCatCacheHeader \ -TChangeVarNodes_context \ -TCheckPoint \ -TCheckPointStmt \ -TChromosome \ -TCity \ -TClientData \ +-TClogCtlData \ +-TClogPageStatus \ -TClosePortalStmt \ -TClosePtr \ -TClusterStmt \ -TCmdType \ -TColormap \ -TColumnDef \ --TColumnInfoClass \ -TCommandDest \ -TCommandId \ -TCommentStmt \ -TCommonScanState \ -TCommonState \ --TConnInfo \ -TConnStatusType \ --TConnectionClass \ -TConst \ -TConstrCheck \ -TConstrType \ @@ -179,20 +166,19 @@ int pgindent_func_no_var_fix;\ -TCreatePLangStmt \ -TCreateSeqStmt \ -TCreateStmt \ +-TCreateStmtContext \ -TCreateTrigStmt \ -TCreateUserStmt \ -TCreatedbStmt \ +-TCred \ -TCursor \ -TCustomOutPtr \ --TDATE_STRUCT \ -TDBState \ -TDCHCacheEntry \ -TDCH_poz \ -TDIR \ -TDR_printtup \ --TDWORD \ -TDataDumperPtr \ --TDataSourceToDriverProc \ -TDateADT \ -TDatum \ -TDatumPtr \ @@ -212,7 +198,6 @@ int pgindent_func_no_var_fix;\ -TDlelem \ -TDllist \ -TDrawable \ --TDriverToDataSourceProc \ -TDropGroupStmt \ -TDropPLangStmt \ -TDropStmt \ @@ -222,13 +207,11 @@ int pgindent_func_no_var_fix;\ -TDumpContext \ -TDynamicFileList \ -TEDGE \ --TELEMENT \ -TEState \ -TEdge \ -TEndBlobPtr \ -TEndBlobsPtr \ -TEndDataPtr \ --TEnvironmentClass \ -TErrorMessagePacket \ -TExcContext \ -TExcData \ @@ -246,9 +229,10 @@ int pgindent_func_no_var_fix;\ -TExpr \ -TExprContext \ -TExprDoneCond \ --TExtendStmt \ --TFIELD_INFO \ -TFILE \ +-TFSMChunk \ +-TFSMHeader \ +-TFSMRelation \ -TFUNMAP \ -TFetchStmt \ -TFieldSelect \ @@ -275,7 +259,6 @@ int pgindent_func_no_var_fix;\ -TFormData_pg_language \ -TFormData_pg_largeobject \ -TFormData_pg_listener \ --TFormData_pg_log \ -TFormData_pg_opclass \ -TFormData_pg_operator \ -TFormData_pg_proc \ @@ -286,7 +269,6 @@ int pgindent_func_no_var_fix;\ -TFormData_pg_statistic \ -TFormData_pg_trigger \ -TFormData_pg_type \ --TFormData_pg_variable \ -TForm_pg_aggregate \ -TForm_pg_am \ -TForm_pg_amop \ @@ -301,7 +283,7 @@ int pgindent_func_no_var_fix;\ -TForm_pg_inherits \ -TForm_pg_language \ -TForm_pg_largeobject \ --TForm_pg_log \ +-TForm_pg_listener \ -TForm_pg_opclass \ -TForm_pg_operator \ -TForm_pg_proc \ @@ -312,11 +294,11 @@ int pgindent_func_no_var_fix;\ -TForm_pg_statistic \ -TForm_pg_trigger \ -TForm_pg_type \ --TForm_pg_variable \ -TFormatNode \ -TFromExpr \ -TFunc \ -TFuncCall \ +-TFuncDetailCode \ -TFuncInfo \ -TFunction \ -TFunctionCache \ @@ -325,6 +307,7 @@ int pgindent_func_no_var_fix;\ -TFunctionCallInfoData \ -TGC \ -TGContext \ +-TGISTBuildState \ -TGISTENTRY \ -TGISTPageOpaque \ -TGISTPageOpaqueData \ @@ -335,28 +318,29 @@ int pgindent_func_no_var_fix;\ -TGISTScanOpaque \ -TGISTScanOpaqueData \ -TGIST_SPLITVEC \ --TGLOBAL_VALUES \ -TGUC_yy_size_t \ -TGUC_yy_state_type \ -TGene \ +-TGrantStmt \ -TGroup \ -TGroupClause \ -TGroupState \ -TGucContext \ -THASHACTION \ +-THASHBUCKET \ -THASHCTL \ +-THASHELEMENT \ +-THASHHDR \ +-THASHSEGMENT \ -THASH_SEQ_STATUS \ --THDBC \ --THENV \ --THHDR \ -THISTORY_STATE \ -THIST_ENTRY \ -THOLDER \ -THOLDERTAG \ --THSTMT \ -THTAB \ --THWND \ +-THTSV_Result \ -THash \ +-THashBuildState \ -THashItem \ -THashItemData \ -THashJoin \ @@ -375,7 +359,6 @@ int pgindent_func_no_var_fix;\ -THashScanOpaqueData \ -THashState \ -THashTableData \ --THashtFunc \ -THeapAccessStatistics \ -THeapAccessStatisticsData \ -THeapScanDesc \ @@ -384,7 +367,6 @@ int pgindent_func_no_var_fix;\ -THeapTupleData \ -THeapTupleHeader \ -THeapTupleHeaderData \ --TINTRANGE \ -TIdList \ -TIdent \ -TIncrementVarSublevelsUp_context \ @@ -392,6 +374,9 @@ int pgindent_func_no_var_fix;\ -TIndex \ -TIndexAttributeBitMap \ -TIndexAttributeBitMapData \ +-TIndexBuildCallback \ +-TIndexBulkDeleteCallback \ +-TIndexBulkDeleteResult \ -TIndexElem \ -TIndexInfo \ -TIndexList \ @@ -414,15 +399,14 @@ int pgindent_func_no_var_fix;\ -TInsertIndexResult \ -TInsertIndexResultData \ -TInsertStmt \ +-TInstrumentation \ +-TInt8TransTypeData \ -TIntArray \ -TInt_yy_size_t \ -TInt_yy_state_type \ -TInterval \ --TInvalidationEntry \ --TInvalidationEntryData \ --TInvalidationMessage \ --TInvalidationMessageData \ --TInvalidationUserData \ +-TInvalidationChunk \ +-TInvalidationListHeader \ -TIpcMemoryId \ -TIpcMemoryKey \ -TIpcSemaphoreId \ @@ -458,27 +442,24 @@ int pgindent_func_no_var_fix;\ -TLOCKMETHODTABLE \ -TLOCKMODE \ -TLOCKTAG \ --TLO_ARG \ --TLPARAM \ -TLSEG \ +-TLVRelStats \ +-TLWLock \ +-TLWLockId \ +-TLWLockMode \ -TLargeObjectDesc \ -TLimit \ -TLimitState \ -TList \ -TListenStmt \ -TLoadStmt \ --TLocalInvalid \ -TLocationIndex \ -TLockInfo \ -TLockInfoData \ -TLockRelId \ -TLockStmt \ --TLogRelationContents \ --TLogRelationContentsData \ -TLogicalTape \ -TLogicalTapeSet \ --TLookupEnt \ --TMarkData \ -TMask \ -TMaterial \ -TMaterialState \ @@ -502,6 +483,8 @@ int pgindent_func_no_var_fix;\ -TNode \ -TNodeTag \ -TNotifyStmt \ +-TNullTest \ +-TNullTestType \ -TNumeric \ -TNumericData \ -TNumericDigit \ @@ -528,6 +511,7 @@ int pgindent_func_no_var_fix;\ -TPGLZ_HistEntry \ -TPGLZ_Strategy \ -TPGShmemHeader \ +-TPG_LocaleCategories \ -TPGconn \ -TPGnotify \ -TPGresult \ @@ -541,7 +525,6 @@ int pgindent_func_no_var_fix;\ -TPROC \ -TPROC_HDR \ -TPROC_QUEUE \ --TPTR \ -TPacket \ -TPacketDoneProc \ -TPacketLen \ @@ -556,7 +539,6 @@ int pgindent_func_no_var_fix;\ -TParamListInfo \ -TParamListInfoData \ -TParamNo \ --TParameterInfoClass \ -TParseState \ -TPasswordPacket \ -TPasswordPacketV0 \ @@ -566,6 +548,23 @@ int pgindent_func_no_var_fix;\ -TPattern_Prefix_Status \ -TPattern_Type \ -TPendingRelDelete \ +-TPgStat_Counter \ +-TPgStat_Info \ +-TPgStat_Msg \ +-TPgStat_MsgActivity \ +-TPgStat_MsgBestart \ +-TPgStat_MsgBeterm \ +-TPgStat_MsgDropdb \ +-TPgStat_MsgDummy \ +-TPgStat_MsgHdr \ +-TPgStat_MsgResetcounter \ +-TPgStat_MsgTabpurge \ +-TPgStat_MsgTabstat \ +-TPgStat_StatBeDead \ +-TPgStat_StatBeEntry \ +-TPgStat_StatDBEntry \ +-TPgStat_StatTabEntry \ +-TPgStat_TableEntry \ -TPg_finfo_record \ -TPixmap \ -TPlan \ @@ -574,27 +573,25 @@ int pgindent_func_no_var_fix;\ -TPool \ -TPort \ -TPortal \ --TPortalD \ +-TPortalData \ -TPortalHashEnt \ -TPostgresPollingStatusType \ -TPrintExtraTocPtr \ -TPrintTocDataPtr \ -TPrinttupAttrInfo \ +-TPrivGrantee \ -TProcState \ -TProcedureStmt \ -TProcessingMode \ -TProjectionInfo \ -TProtocolVersion \ -TPsqlSettings \ --TQResultClass \ -TQuery \ -TQueryDesc \ --TQueryInfo \ --TQueryResultCode \ --TRETCODE \ -TRI_OpreqHashEntry \ -TRI_QueryHashEntry \ -TRI_QueryKey \ +-TRTBuildState \ -TRTSTACK \ -TRTSTATE \ -TRTScanList \ @@ -624,7 +621,6 @@ int pgindent_func_no_var_fix;\ -TRelation \ -TRelationBuildDescInfo \ -TRelationData \ --TRelationInvalidationData \ -TRelationPtr \ -TRelativeTime \ -TRelids \ @@ -643,51 +639,24 @@ int pgindent_func_no_var_fix;\ -TRetrieveIndexResult \ -TRetrieveIndexResultData \ -TReturnSetInfo \ --TRewriteInfo \ -TRewriteRule \ -TRmgrData \ -TRmgrId \ -TRuleLock \ -TRuleStmt \ --TSDOUBLE \ --TSDWORD \ --TSEGMENT \ --TSEG_OFFSET \ -TSEMA \ --TSFLOAT \ +-TSEM_MAP_ENTRY \ -TSHMEM_OFFSET \ -TSHM_QUEUE \ --TSIMPLE_TIME \ -TSISeg \ --TSLock \ --TSPINLOCK \ -TSPITupleTable \ +-TSPLITCOST \ -TSPLITVEC \ --TSQLBIGINT \ --TSQLCHAR \ --TSQLDOUBLE \ --TSQLFLOAT \ -TSQLFunctionCache \ -TSQLFunctionCachePtr \ --TSQLGUID \ --TSQLINTEGER \ --TSQLINTERVAL \ --TSQLREAL \ --TSQLSCHAR \ --TSQLSMALLINT \ --TSQLUBIGINT \ --TSQLUINTEGER \ --TSQLUSMALLINT \ --TSQL_DATE_STRUCT \ --TSQL_DAY_SECOND_STRUCT \ --TSQL_INTERVAL_STRUCT \ --TSQL_TIMESTAMP_STRUCT \ --TSQL_TIME_STRUCT \ --TSQL_YEAR_MONTH_STRUCT \ --TSSHOR \ --TSTMT_Status \ --TSWORD \ -TSaveArchivePtr \ +-TScalarItem \ +-TScalarMCVItem \ -TScan \ -TScanDirection \ -TScanKey \ @@ -705,17 +674,18 @@ int pgindent_func_no_var_fix;\ -TSetOpState \ -TSetOperation \ -TSetOperationStmt \ --TSharedInvalid \ --TSharedInvalidData \ +-TSharedInvalCatcacheMsg \ +-TSharedInvalRelcacheMsg \ +-TSharedInvalidationMessage \ -TShmemIndexEnt \ -TSigHandler \ -TSize \ -TSnapshot \ -TSnapshotData \ -TSockAddr \ --TSocketClass \ -TSort \ -TSortClause \ +-TSortFunctionKind \ -TSortGroupBy \ -TSortState \ -TSplitNumber \ @@ -725,8 +695,6 @@ int pgindent_func_no_var_fix;\ -TStartDataPtr \ -TStartUpID \ -TStartupPacket \ --TStatementClass \ --TStatementOptions \ -TStrategyEvaluation \ -TStrategyEvaluationData \ -TStrategyExpression \ @@ -749,12 +717,7 @@ int pgindent_func_no_var_fix;\ -TSubPlan \ -TSubqueryScan \ -TSubqueryScanState \ --TTABLE_INFO \ -TTAR_MEMBER \ --TTIMESTAMP_STRUCT \ --TTIME_STRUCT \ --TTXTRANGE \ --TTableID \ -TTableInfo \ -TTargetEntry \ -TTcl_AppInitProc \ @@ -831,6 +794,7 @@ int pgindent_func_no_var_fix;\ -TTimeIntervalData \ -TTimeTzADT \ -TTimestamp \ +-TTimestampTz \ -TTk_3DBorder \ -TTk_Anchor \ -TTk_ArgvInfo \ @@ -897,8 +861,10 @@ int pgindent_func_no_var_fix;\ -TTk_Uid \ -TTk_Window \ -TTmFromChar \ +-TTmToChar \ -TTocEntry \ -TTocSortCompareFn \ +-TTrackItem \ -TTransactionId \ -TTransactionState \ -TTransactionStateData \ @@ -913,9 +879,6 @@ int pgindent_func_no_var_fix;\ -TTupStoreStatus \ -TTupleConstr \ -TTupleDesc \ --TTupleField \ --TTupleListClass \ --TTupleNode \ -TTupleTable \ -TTupleTableData \ -TTupleTableSlot \ @@ -925,17 +888,12 @@ int pgindent_func_no_var_fix;\ -TTypeCast \ -TTypeInfo \ -TTypeName \ --TUCHAR \ --TUDWORD \ -TUNDO_LIST \ --TUWORD \ -TUnique \ -TUniqueState \ -TUnlistenStmt \ -TUpdateStmt \ -TUserAuth \ --TVAttList \ --TVAttListData \ -TVFunction \ -TVRelList \ -TVRelListData \ @@ -949,6 +907,7 @@ int pgindent_func_no_var_fix;\ -TVacPageData \ -TVacPageList \ -TVacPageListData \ +-TVacRUsage \ -TVacuumStmt \ -TValue \ -TVar \ @@ -956,8 +915,6 @@ int pgindent_func_no_var_fix;\ -TVarChar \ -TVariableCache \ -TVariableCacheData \ --TVariableRelationContents \ --TVariableRelationContentsData \ -TVariableResetStmt \ -TVariableSetStmt \ -TVariableShowStmt \ @@ -968,8 +925,6 @@ int pgindent_func_no_var_fix;\ -TVisual \ -TVisualID \ -TWAIT_ORDER \ --TWORD \ --TWPARAM \ -TWindow \ -TWriteBufPtr \ -TWriteBytePtr \ @@ -1055,8 +1010,7 @@ int pgindent_func_no_var_fix;\ -TXKeyboardState \ -TXKeymapEvent \ -TXLeaveWindowEvent \ --TXLgwrResult \ --TXLgwrRqst \ +-TXLogContRecord \ -TXLogCtlData \ -TXLogCtlInsert \ -TXLogCtlWrite \ @@ -1067,7 +1021,8 @@ int pgindent_func_no_var_fix;\ -TXLogRecord \ -TXLogRelCacheEntry \ -TXLogRelDesc \ --TXLogSubRecord \ +-TXLogwrtResult \ +-TXLogwrtRqst \ -TXMapEvent \ -TXMapRequestEvent \ -TXMappingEvent \ @@ -1109,7 +1064,6 @@ int pgindent_func_no_var_fix;\ -TYY_BUFFER_STATE \ -TYY_CHAR \ -T_LIB_VERSION_TYPE \ --T_LockId_ \ -T_RuneEntry \ -T_RuneLocale \ -T_RuneRange \ @@ -1138,11 +1092,14 @@ int pgindent_func_no_var_fix;\ -Tcheck_ungrouped_columns_context \ -Tclock_t \ -Tclockid_t \ +-Tcodes_t \ +-Tcontain_var_reference_context \ -Tcrc64 \ -Tcset \ -Tdaddr_t \ -Tdatetkn \ -Tdeparse_context \ +-Tdeparse_namespace \ -Tdev_t \ -Tdiv_t \ -Tdouble \ @@ -1161,11 +1118,13 @@ int pgindent_func_no_var_fix;\ -Tfloat64 \ -Tfloat64data \ -Tfloat8 \ +-TformatLiteralOptions \ -Tfp_except \ -Tfp_rnd \ -Tfpclass_t \ -Tfpos_t \ -Tfree_func \ +-Tfrom_mic_converter \ -Tfunc_ptr \ -Tgid_t \ -TgzFile \ @@ -1200,12 +1159,22 @@ int pgindent_func_no_var_fix;\ -TlclTocEntry \ -Tldiv_t \ -Tmacaddr \ +-Tmb2wchar_with_len_converter \ +-Tmblen_converter \ -Tmode_t \ -Tnlink_t \ -Toff_t \ -Toidvector \ -ToptType \ +-Tpg_enc \ +-Tpg_enc2name \ +-Tpg_encname \ +-Tpg_enconv \ +-Tpg_local_to_utf \ -Tpg_pwd \ +-Tpg_utf_to_local \ +-Tpg_wchar \ +-Tpg_wchar_tbl \ -Tpgsql_thing_t \ -Tpid_t \ -Tpqbool \ @@ -1216,6 +1185,7 @@ int pgindent_func_no_var_fix;\ -Tptrdiff_t \ -Tpull_var_clause_context \ -Tpull_varnos_context \ +-Tq128_t \ -Tqaddr_t \ -Tquad_t \ -TrangeTableEntry_used_context \ @@ -1244,11 +1214,13 @@ int pgindent_func_no_var_fix;\ -TsqlparseInfo \ -TsqlparseState \ -Tssize_t \ +-Tstack_t \ -Tswblk_t \ -Ttcflag_t \ -Ttcp_seq \ -Ttext \ -Ttime_t \ +-Tto_mic_converter \ -TuInt \ -TuIntf \ -TuLong \ -- 2.40.0