Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
6c8f69cd
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6c8f69cd
编写于
11月 15, 2007
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
CUpdate README to suggest 'gmake distclean'. Add library typedefs.
上级
2a754d70
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
276 addition
and
2 deletion
+276
-2
src/tools/pgindent/README
src/tools/pgindent/README
+4
-1
src/tools/pgindent/pgindent
src/tools/pgindent/pgindent
+272
-1
未找到文件。
src/tools/pgindent/README
浏览文件 @
6c8f69cd
...
...
@@ -9,7 +9,10 @@ running this on the pgsql/bin and pgsql/lib directories:
and update the list in pgindent. This requires the binaries have
_debug_ symbols.
2) From the top directory, run:
2) Run 'gmake distclean' from the top of the source tree to remove any
derived C files.
3) From the top directory, run:
find . -name '*.[ch]' -type f -print |
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
...
...
src/tools/pgindent/pgindent
浏览文件 @
6c8f69cd
#!/bin/sh
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.9
2 2007/11/15 22:06:07
momjian Exp $
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.9
3 2007/11/15 22:12:09
momjian Exp $
# Known bugs:
#
...
...
@@ -117,6 +117,8 @@ do
-lp
-nip
-npro
-bbb
$EXTRA_OPTS
\
-TAES_KEY
\
-TAFFIX
\
-TAMT
\
-TAMTS
\
-TASN1_BIT_STRING
\
-TASN1_BMPSTRING
\
-TASN1_BOOLEAN
\
...
...
@@ -147,6 +149,7 @@ do
-TASN1_UTF8STRING
\
-TASN1_VALUE
\
-TASN1_VISIBLESTRING
\
-TAV
\
-TA_Const
\
-TA_Expr
\
-TA_Expr_Kind
\
...
...
@@ -241,6 +244,7 @@ do
-TAuxProcType
\
-TBF_KEY
\
-TBIGNUM
\
-TBINOP
\
-TBIO
\
-TBIO_F_BUFFER_CTX
\
-TBIO_METHOD
\
...
...
@@ -248,6 +252,7 @@ do
-TBITVEC
\
-TBITVECP
\
-TBIT_STRING_BITNAME
\
-TBLOCK
\
-TBMS_Membership
\
-TBN_BLINDING
\
-TBN_CTX
\
...
...
@@ -328,11 +333,13 @@ do
-TCMPDAffix
\
-TCOMP_CTX
\
-TCOMP_METHOD
\
-TCONDOP
\
-TCONF
\
-TCONF_IMODULE
\
-TCONF_METHOD
\
-TCONF_MODULE
\
-TCONF_VALUE
\
-TCOP
\
-TCPFunction
\
-TCPPFunction
\
-TCRYPTO_EX_DATA
\
...
...
@@ -343,6 +350,8 @@ do
-TCRYPTO_EX_new
\
-TCRYPTO_MEM_LEAK_CB
\
-TCRYPTO_dynlock
\
-TCURCUR
\
-TCV
\
-TCacheCallbackFunction
\
-TCachedPlan
\
-TCachedPlanSource
\
...
...
@@ -366,6 +375,7 @@ do
-TCheckpointStatsData
\
-TChromosome
\
-TCity
\
-TClientData
\
-TClosePortalStmt
\
-TClosePtr
\
-TClusterStmt
\
...
...
@@ -468,6 +478,7 @@ do
-TDestReceiver
\
-TDictISpell
\
-TDictSimple
\
-TDictSnowball
\
-TDictSubState
\
-TDictSyn
\
-TDictThesaurus
\
...
...
@@ -496,6 +507,13 @@ do
-TDynamicFileList
\
-TEDGE
\
-TENGINE
\
-TENGINE_CIPHERS_PTR
\
-TENGINE_CMD_DEFN
\
-TENGINE_CTRL_FUNC_PTR
\
-TENGINE_DIGESTS_PTR
\
-TENGINE_GEN_FUNC_PTR
\
-TENGINE_GEN_INT_FUNC_PTR
\
-TENGINE_LOAD_KEY_PTR
\
-TERR_FNS
\
-TERR_STATE
\
-TERR_STRING_DATA
\
...
...
@@ -518,6 +536,7 @@ do
-TEquivalenceMember
\
-TErrorContextCallback
\
-TErrorData
\
-TExceptionLabelMap
\
-TExecContext
\
-TExecContextData
\
-TExecRowMark
\
...
...
@@ -537,6 +556,7 @@ do
-TExprStateEvalFunc
\
-TExtensionBehavior
\
-TExtention
\
-TFF
\
-TFILE
\
-TFSMHeader
\
-TFSMPageData
\
...
...
@@ -667,6 +687,9 @@ do
-TGISTScanOpaqueData
\
-TGISTSearchStack
\
-TGIST_SPLITVEC
\
-TGP
\
-TGV
\
-TGVOP
\
-TGene
\
-TGenericExprState
\
-TGeqoEvalData
\
...
...
@@ -719,11 +742,14 @@ do
-THASHHDR
\
-THASHSEGMENT
\
-THASH_SEQ_STATUS
\
-THE
\
-THEK
\
-THISTORY_STATE
\
-THIST_ENTRY
\
-THTAB
\
-THTSU_Result
\
-THTSV_Result
\
-THV
\
-THash
\
-THashAllocFunc
\
-THashBuildState
\
...
...
@@ -756,8 +782,14 @@ do
-THeapTupleHeader
\
-THeapTupleHeaderData
\
-THistControl
\
-TI16
\
-TI32
\
-TI8
\
-TINFIX
\
-TIO
\
-TIOFuncSelector
\
-TIV
\
-TIV64
\
-TInClauseInfo
\
-TIncrementVarSublevelsUp_context
\
-TIndex
\
...
...
@@ -796,6 +828,7 @@ do
-TInt8TransTypeData
\
-TIntArray
\
-TInternalGrant
\
-TInterpState
\
-TInterval
\
-TIntoClause
\
-TInvalRelidContext
\
...
...
@@ -813,6 +846,7 @@ do
-TItemOffset
\
-TItemPointer
\
-TItemPointerData
\
-TJMPENV
\
-TJoin
\
-TJoinExpr
\
-TJoinHashEntry
\
...
...
@@ -832,6 +866,7 @@ do
-TLHASH_HASH_FN_TYPE
\
-TLHASH_NODE
\
-TLINE
\
-TLISTOP
\
-TLOCALLOCK
\
-TLOCALLOCKOWNER
\
-TLOCALLOCKTAG
\
...
...
@@ -840,6 +875,8 @@ do
-TLOCKMETHODID
\
-TLOCKMODE
\
-TLOCKTAG
\
-TLOGOP
\
-TLOOP
\
-TLSEG
\
-TLVRelStats
\
-TLWLock
\
...
...
@@ -877,10 +914,12 @@ do
-TLogStmtLevel
\
-TLogicalTape
\
-TLogicalTapeSet
\
-TMAGIC
\
-TMD2_CTX
\
-TMD4_CTX
\
-TMD5_CTX
\
-TMDC2_CTX
\
-TMGVTBL
\
-TMaterial
\
-TMaterialPath
\
-TMaterialState
\
...
...
@@ -912,6 +951,7 @@ do
-TNUMDesc
\
-TNUMProc
\
-TNUM_poz
\
-TNV
\
-TName
\
-TNameData
\
-TNamespaceInfo
\
...
...
@@ -933,6 +973,7 @@ do
-TNumericDigit
\
-TNumericVar
\
-TOBJ_NAME
\
-TOP
\
-TObjectAddress
\
-TObjectAddresses
\
-TObjectClass
\
...
...
@@ -957,8 +998,10 @@ do
-TOprInfo
\
-TOuterJoinInfo
\
-TOutputContext
\
-TOutrec
\
-TOverrideSearchPath
\
-TOverrideStackEntry
\
-TPADOFFSET
\
-TPATH
\
-TPBE2PARAM
\
-TPBEPARAM
\
...
...
@@ -966,17 +1009,24 @@ do
-TPEM_CTX
\
-TPEM_ENCODE_SEAL_CTX
\
-TPEM_USER
\
-TPERL_CONTEXT
\
-TPERL_SI
\
-TPGAsyncStatusType
\
-TPGErrorVerbosity
\
-TPGFInfoFunction
\
-TPGFunction
\
-TPGLZ_Header
\
-TPGLZ_HistEntry
\
-TPGLZ_Strategy
\
-TPGMessageField
\
-TPGModuleMagicFunction
\
-TPGNoticeHooks
\
-TPGPROC
\
-TPGQueryClass
\
-TPGRUsage
\
-TPGSemaphore
\
-TPGSemaphoreData
\
-TPGSetenvStatusType
\
-TPGShmemHeader
\
-TPGTransactionStatusType
\
-TPGVerbosity
\
...
...
@@ -985,8 +1035,13 @@ do
-TPG_init_t
\
-TPGcancel
\
-TPGconn
\
-TPGlobjfuncs
\
-TPGnotify
\
-TPGresAttDesc
\
-TPGresAttValue
\
-TPGresParamDesc
\
-TPGresult
\
-TPGresult_data
\
-TPKCS7
\
-TPKCS7_DIGEST
\
-TPKCS7_ENCRYPT
\
...
...
@@ -1000,10 +1055,54 @@ do
-TPKCS8_PRIV_KEY_INFO
\
-TPLAINTREE
\
-TPLTemplate
\
-TPLpgSQL_arrayelem
\
-TPLpgSQL_condition
\
-TPLpgSQL_datum
\
-TPLpgSQL_diag_item
\
-TPLpgSQL_dstring
\
-TPLpgSQL_exception
\
-TPLpgSQL_exception_block
\
-TPLpgSQL_execstate
\
-TPLpgSQL_expr
\
-TPLpgSQL_func_hashkey
\
-TPLpgSQL_function
\
-TPLpgSQL_ns
\
-TPLpgSQL_nsitem
\
-TPLpgSQL_plugin
\
-TPLpgSQL_rec
\
-TPLpgSQL_recfield
\
-TPLpgSQL_row
\
-TPLpgSQL_stmt
\
-TPLpgSQL_stmt_assign
\
-TPLpgSQL_stmt_block
\
-TPLpgSQL_stmt_close
\
-TPLpgSQL_stmt_dynexecute
\
-TPLpgSQL_stmt_dynfors
\
-TPLpgSQL_stmt_execsql
\
-TPLpgSQL_stmt_exit
\
-TPLpgSQL_stmt_fetch
\
-TPLpgSQL_stmt_fori
\
-TPLpgSQL_stmt_fors
\
-TPLpgSQL_stmt_getdiag
\
-TPLpgSQL_stmt_if
\
-TPLpgSQL_stmt_loop
\
-TPLpgSQL_stmt_open
\
-TPLpgSQL_stmt_perform
\
-TPLpgSQL_stmt_raise
\
-TPLpgSQL_stmt_return
\
-TPLpgSQL_stmt_return_next
\
-TPLpgSQL_stmt_return_query
\
-TPLpgSQL_stmt_while
\
-TPLpgSQL_trigarg
\
-TPLpgSQL_type
\
-TPLpgSQL_var
\
-TPLpgSQL_variable
\
-TPMOP
\
-TPMSignalReason
\
-TPMState
\
-TPOLYGON
\
-TPQArgBlock
\
-TPQEnvironmentOption
\
-TPQExpBuffer
\
-TPQExpBufferData
\
-TPQconninfoOption
\
...
...
@@ -1017,6 +1116,8 @@ do
-TPSQL_ECHO
\
-TPSQL_ECHO_HIDDEN
\
-TPSQL_ERROR_ROLLBACK
\
-TPV
\
-TPVOP
\
-TPacketLen
\
-TPage
\
-TPageFreeSpaceInfo
\
...
...
@@ -1046,6 +1147,8 @@ do
-TPendingOperationTag
\
-TPendingRelDelete
\
-TPendingUnlinkEntry
\
-TPerlExitListEntry
\
-TPerlInterpreter
\
-TPgBackendStatus
\
-TPgStat_Counter
\
-TPgStat_GlobalStats
\
...
...
@@ -1125,8 +1228,10 @@ do
-TQueryOperator
\
-TQueryRepresentation
\
-TQuerySource
\
-TRAND_METHOD
\
-TRC2_KEY
\
-TRC4_KEY
\
-TREGEXP
\
-TRIPEMD160_CTX
\
-TRI_CompareHashEntry
\
-TRI_CompareKey
\
...
...
@@ -1224,6 +1329,10 @@ do
-TSSL_METHOD
\
-TSSL_SESSION
\
-TSTACK
\
-TSTRLEN
\
-TSUBLEXINFO
\
-TSV
\
-TSVOP
\
-TSaOpControl
\
-TSaveArchivePtr
\
-TScalarArrayOpExpr
\
...
...
@@ -1264,7 +1373,10 @@ do
-TShmemIndexEnt
\
-TShutdownMode
\
-TSigHandler
\
-TSighandler_t
\
-TSignTSVector
\
-TSigsave_t
\
-TSimpleEstateStackEntry
\
-TSimpleOidList
\
-TSimpleOidListCell
\
-TSimpleStringList
\
...
...
@@ -1353,10 +1465,104 @@ do
-TTableDataInfo
\
-TTableInfo
\
-TTargetEntry
\
-TTclStubHooks
\
-TTclStubs
\
-TTcl_AppInitProc
\
-TTcl_AsyncHandler
\
-TTcl_AsyncProc
\
-TTcl_CallFrame
\
-TTcl_Channel
\
-TTcl_ChannelProc
\
-TTcl_ChannelType
\
-TTcl_ChannelTypeVersion
\
-TTcl_CloseProc
\
-TTcl_CmdDeleteProc
\
-TTcl_CmdInfo
\
-TTcl_CmdProc
\
-TTcl_CmdTraceProc
\
-TTcl_Command
\
-TTcl_Condition
\
-TTcl_CreateFileHandlerProc
\
-TTcl_DString
\
-TTcl_DeleteFileHandlerProc
\
-TTcl_DriverBlockModeProc
\
-TTcl_DriverClose2Proc
\
-TTcl_DriverCloseProc
\
-TTcl_DriverFlushProc
\
-TTcl_DriverGetHandleProc
\
-TTcl_DriverGetOptionProc
\
-TTcl_DriverHandlerProc
\
-TTcl_DriverInputProc
\
-TTcl_DriverOutputProc
\
-TTcl_DriverSeekProc
\
-TTcl_DriverSetOptionProc
\
-TTcl_DriverWatchProc
\
-TTcl_DupInternalRepProc
\
-TTcl_Encoding
\
-TTcl_EncodingConvertProc
\
-TTcl_EncodingFreeProc
\
-TTcl_EncodingState
\
-TTcl_EncodingType
\
-TTcl_EolTranslation
\
-TTcl_Event
\
-TTcl_EventCheckProc
\
-TTcl_EventDeleteProc
\
-TTcl_EventProc
\
-TTcl_EventSetupProc
\
-TTcl_ExitProc
\
-TTcl_FileFreeProc
\
-TTcl_FileProc
\
-TTcl_FreeInternalRepProc
\
-TTcl_FreeProc
\
-TTcl_HashEntry
\
-TTcl_HashSearch
\
-TTcl_HashTable
\
-TTcl_IdleProc
\
-TTcl_Interp
\
-TTcl_InterpDeleteProc
\
-TTcl_MainLoopProc
\
-TTcl_MathProc
\
-TTcl_Mutex
\
-TTcl_Namespace
\
-TTcl_NamespaceDeleteProc
\
-TTcl_NotifierProcs
\
-TTcl_Obj
\
-TTcl_ObjCmdProc
\
-TTcl_ObjType
\
-TTcl_PackageInitProc
\
-TTcl_PanicProc
\
-TTcl_Parse
\
-TTcl_PathType
\
-TTcl_Pid
\
-TTcl_QueuePosition
\
-TTcl_RegExp
\
-TTcl_RegExpIndices
\
-TTcl_RegExpInfo
\
-TTcl_SavedResult
\
-TTcl_SetFromAnyProc
\
-TTcl_SetTimerProc
\
-TTcl_Stat_
\
-TTcl_TcpAcceptProc
\
-TTcl_ThreadCreateProc
\
-TTcl_ThreadDataKey
\
-TTcl_ThreadId
\
-TTcl_Time
\
-TTcl_TimerProc
\
-TTcl_TimerToken
\
-TTcl_Token
\
-TTcl_Trace
\
-TTcl_UniChar
\
-TTcl_UpdateStringProc
\
-TTcl_Value
\
-TTcl_ValueType
\
-TTcl_Var
\
-TTcl_VarTraceProc
\
-TTcl_WaitForEventProc
\
-TTextPositionState
\
-TTheLexeme
\
-TTheSubstitute
\
-TThingFile
\
-TThread
\
-TTidHashKey
\
-TTidPath
\
-TTidScan
\
...
...
@@ -1416,10 +1622,15 @@ do
-TTypeFuncClass
\
-TTypeInfo
\
-TTypeName
\
-TU16
\
-TU32
\
-TU8
\
-TUI
\
-TUI_METHOD
\
-TUI_STRING
\
-TUNDO_LIST
\
-TUNOP
\
-TUV
\
-TUnique
\
-TUniquePath
\
-TUniquePathMethod
\
...
...
@@ -1513,6 +1724,20 @@ do
-TXLogRelDesc
\
-TXLogwrtResult
\
-TXLogwrtRqst
\
-TXPV
\
-TXPVAV
\
-TXPVBM
\
-TXPVCV
\
-TXPVFM
\
-TXPVGV
\
-TXPVHV
\
-TXPVIO
\
-TXPVIV
\
-TXPVLV
\
-TXPVMG
\
-TXPVNV
\
-TXPVUV
\
-TXRV
\
-TXactCallback
\
-TXactCallbackItem
\
-TXactEvent
\
...
...
@@ -1569,15 +1794,19 @@ do
-Tclock_t
\
-Tclockid_t
\
-TcmpEntriesData
\
-Tcodes_t
\
-Tcolor
\
-Tcomment_t
\
-Tconf_finish_func
\
-Tconf_init_func
\
-Tconst_DES_cblock
\
-Tcontain_var_reference_context
\
-Tconvert_testexpr_context
\
-Tcost_qual_eval_context
\
-Tcv_flags_t
\
-Tdaddr_t
\
-Tdatetkn
\
-Tdecimal
\
-Tdeparse_context
\
-Tdeparse_namespace
\
-Tdev_t
\
...
...
@@ -1585,13 +1814,28 @@ do
-Tdiv_t
\
-Tdouble
\
-Tds_state
\
-Tdyn_MEM_free_cb
\
-Tdyn_MEM_malloc_cb
\
-Tdyn_MEM_realloc_cb
\
-Tdyn_dynlock_create_cb
\
-Tdyn_dynlock_destroy_cb
\
-Tdyn_dynlock_lock_cb
\
-Tdyn_lock_add_lock_cb
\
-Tdyn_lock_locking_cb
\
-Tdynamic_LOCK_fns
\
-Tdynamic_MEM_fns
\
-Tdynamic_bind_engine
\
-Tdynamic_fns
\
-Tdynamic_v_check_fn
\
-TevalPlanQual
\
-Teval_const_expressions_context
\
-Texecution_state
\
-Texpectation
\
-Texplain_get_index_name_hook_type
\
-Tf_smgr
\
-Tfd_mask
\
-Tfd_set
\
-Tfilter_t
\
-Tfinalize_primnode_context
\
-Tfind_expr_references_context
\
-Tfind_minimum_var_level_context
\
...
...
@@ -1665,6 +1909,7 @@ do
-TlclContext
\
-TlclTocEntry
\
-Tldiv_t
\
-Tline_t
\
-TmXactCacheEnt
\
-Tmacaddr
\
-Tmb2wchar_with_len_converter
\
...
...
@@ -1675,12 +1920,18 @@ do
-Tmode_t
\
-Tnlink_t
\
-Tnls_uint32
\
-Tnumeric
\
-TobjectType
\
-Toff_t
\
-Toidvector
\
-Top_tr_array
\
-Topcode
\
-Topindex
\
-ToptType
\
-Tpcolor
\
-Tpem_password_cb
\
-TpgParameterStatus
\
-Tpg_conv_map
\
-Tpg_crc32
\
-Tpg_enc
\
-Tpg_enc2name
\
...
...
@@ -1702,6 +1953,14 @@ do
-Tpgthreadlock_t
\
-Tpid_t
\
-Tplanner_hook_type
\
-Tplperl_call_data
\
-Tplperl_proc_desc
\
-Tplperl_proc_entry
\
-Tplperl_query_desc
\
-Tplperl_query_entry
\
-Tplpgsql_HashEnt
\
-Tpltcl_proc_desc
\
-Tpltcl_query_desc
\
-Tpqbool
\
-Tpqsigfunc
\
-TprintQueryOpt
\
...
...
@@ -1719,16 +1978,21 @@ do
-Tptrdiff_t
\
-Tpull_var_clause_context
\
-Tpull_varnos_context
\
-Tpvcontents
\
-Tq128_t
\
-Tqaddr_t
\
-Tqsort_arg_comparator
\
-Tquad_t
\
-TrangeTableEntry_used_context
\
-Treduce_outer_joins_state
\
-Tregcomp_t
\
-Tregex_t
\
-Tregexec_t
\
-Tregexp
\
-Tregexp_matches_ctx
\
-Tregister_t
\
-Tregmatch_t
\
-Tregnode
\
-Tregoff_t
\
-Tregproc
\
-TremoteDep
\
...
...
@@ -1736,6 +2000,7 @@ do
-Trewrite_event
\
-Trm_detail_t
\
-Trune_t
\
-Trunops_proc_t
\
-Tsa_family_t
\
-Tsave_buffer
\
-Tsegsz_t
\
...
...
@@ -1759,8 +2024,14 @@ do
-Tssize_t
\
-Tssl_crock_st
\
-Tstack_t
\
-Tstemmer_module
\
-TstmtCacheEntry
\
-Tstrconst
\
-Tsubstitute_actual_parameters_context
\
-Tsvindex
\
-Tsvtype
\
-Tswblk_t
\
-Tsymbol
\
-Ttcflag_t
\
-Ttcp_seq
\
-TteReqs
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录