⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pgindent

📁 关系型数据库 Postgresql 6.5.2
💻
📖 第 1 页 / 共 2 页
字号:
#!/bin/shtrap "rm -f /tmp/$$ /tmp/$$a" 0 1 2 3 15entab </dev/null >/dev/nullif [ "$?" -ne 0 ]then	echo "Go to the src/tools/entab directory and do a 'make' and 'make install'." >&2	echo "This will put the 'entab' command in your path." >&2	echo "Then run $0 again."	exit 1fiindent -st -npro </dev/null >/dev/null 2>&1if [ "$?" -ne 0 ]then	echo "You do not appear to have 'indent' installed on your system." >&2	exit 1fiindent -version -npro </dev/null >/dev/null 2>&1if [ "$?" -eq 0 ]then	echo "You appear to have GNU indent rather than BSD indent." >&2	echo "See the pgindent/README file for a description of its problems." >&2	EXTRA_OPTS="-ncdb -bli0 -npcs -cli4"else	echo "Hope you installed /src/tools/pgindent/indent.bsd.patch." >&2	EXTRA_OPTS="-bbb -cli1"fifor FILEdo	cat $FILE |	sed 's;/\*  *---;/*---X_X;g' |# workaround for indent bug with 'else' handling	sed 's;\([} 	]\)else[ 	]*\(/\*.*\)$;\1else\\2;g' | 	detab -t4 -qc |# protect backslashes in DATA()	sed 's;^DATA(.*$;/*&*/;' >/tmp/$$a# 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 \-TA_Const \-TA_Expr \-TA_Indices \-TAbsoluteTime \-TAcl \-TAclId \-TAclIdType \-TAclItem \-TAclMode \-TAddAttrStmt \-TAgg \-TAggFuncInfo \-TAggInfo \-TAggState \-TAggref \-TAllocBlock \-TAllocBlockData \-TAllocChunk \-TAllocChunkData \-TAllocMode \-TAllocPointer \-TAllocSet \-TAllocSetData \-TAlterUserStmt \-TAnyInvalidation \-TAppend \-TAppendState \-TArray \-TArrayRef \-TArrayType \-TAtom \-TAttr \-TAttrDefault \-TAttrNumber \-TAttributeSize \-TAuthRequest \-TAuthRequestPacket \-TBOX \-TBTItem \-TBTItemData \-TBTMetaPageData \-TBTPageOpaque \-TBTPageOpaqueData \-TBTPageState \-TBTPriQueue \-TBTPriQueueElem \-TBTScanList \-TBTScanListData \-TBTScanOpaque \-TBTScanOpaqueData \-TBTSortKey \-TBTSpool \-TBTStack \-TBTStackData \-TBTTapeBlock \-TBUCKET_INDEX \-TBackend \-TBackendId \-TBackendTag \-TBitArray \-TBitIndex \-TBlock \-TBlockId \-TBlockIdData \-TBlockNumber \-TBoolPtr \-TBucket \-TBufFile \-TBufFlags \-TBuffer \-TBufferBlock \-TBufferDesc \-TBufferHdr \-TBufferLock \-TBufferTag \-TCATEGORY \-TCHUNK_INFO \-TCIRCLE \-TCPFunction \-TCPPFunction \-TCancelRequestPacket \-TCandidateList \-TCaseExpr \-TCaseWhen \-TCash \-TCatCTup \-TCatCache \-TCatalogInvalidationData \-TChangeACLStmt \-TChromosome \-TCity \-TClientData \-TClosePortalStmt \-TClusterStmt \-TCmdType \-TColormap \-TColumnDef \-TCommandDest \-TCommandId \-TCommonScanState \-TCommonState \-TConnStatusType \-TConst \-TConstrCheck \-TConstrType \-TConstraint \-TCopyStmt \-TCost \-TCreatePLangStmt \-TCreateSeqStmt \-TCreateStmt \-TCreateTrigStmt \-TCreateUserStmt \-TCreatedbStmt \-TCursor \-TDIR \-TDR_printtup \-TDateADT \-TDateTime \-TDatum \-TDatumPtr \-TDefElem \-TDefineStmt \-TDeleteStmt \-TDepth \-TDestReceiver \-TDestroyStmt \-TDestroydbStmt \-TDisplay \-TDl_info \-TDlelem \-TDllist \-TDrawable \-TDropPLangStmt \-TDropTrigStmt \-TDropUserStmt \-TDynamicFileList \-TELEMENT \-TEState \-TEdge \-TErrorMessagePacket \-TExcContext \-TExcData \-TExcDetail \-TExcFrame \-TExcId \-TExcMessage \-TExcProc \-TException \-TExecStatus \-TExecStatusType \-TExitStatus \-TExplainState \-TExplainStmt \-TExpr \-TExprContext \-TExtendStmt \-TFILE \-TFUNMAP \-TFetchStmt \-TFile \-TFileName \-TFixedItem \-TFixedItemData \-TFixedStack \-TFixedStackData \-TFjoin \-TFmgrCall \-TFmgrInfo \-TFmgrValues \-TFont \-TFormData_pg_aggregate \-TFormData_pg_am \-TFormData_pg_amop \-TFormData_pg_amproc \-TFormData_pg_attrdef \-TFormData_pg_attribute \-TFormData_pg_class \-TFormData_pg_database \-TFormData_pg_group \-TFormData_pg_index \-TFormData_pg_inherits \-TFormData_pg_ipl \-TFormData_pg_language \-TFormData_pg_listener \-TFormData_pg_log \-TFormData_pg_opclass \-TFormData_pg_operator \-TFormData_pg_proc \-TFormData_pg_relcheck \-TFormData_pg_rewrite \-TFormData_pg_sequence \-TFormData_pg_shadow \-TFormData_pg_statistic \-TFormData_pg_trigger \-TFormData_pg_type \-TFormData_pg_variable \-TFormData_pg_version \-TForm_pg_aggregate \-TForm_pg_am \-TForm_pg_amop \-TForm_pg_amproc \-TForm_pg_attrdef \-TForm_pg_attribute \-TForm_pg_class \-TForm_pg_database \-TForm_pg_group \-TForm_pg_index \-TForm_pg_inherits \-TForm_pg_ipl \-TForm_pg_language \-TForm_pg_log \-TForm_pg_opclass \-TForm_pg_operator \-TForm_pg_proc \-TForm_pg_relcheck \-TForm_pg_rewrite \-TForm_pg_sequence \-TForm_pg_shadow \-TForm_pg_statistic \-TForm_pg_trigger \-TForm_pg_type \-TForm_pg_variable \-TForm_pg_version \-TFunc \-TFuncCall \-TFuncIndexInfo \-TFuncIndexInfoPtr \-TFuncInfo \-TFunction \-TFunctionCache \-TFunctionCachePtr \-TGC \-TGContext \-TGISTENTRY \-TGISTPageOpaque \-TGISTPageOpaqueData \-TGISTSTACK \-TGISTSTATE \-TGISTScanList \-TGISTScanListData \-TGISTScanOpaque \-TGISTScanOpaqueData \-TGIST_SPLITVEC \-TGene \-TGlobalMemory \-TGlobalMemoryData \-TGroup \-TGroupBuffer \-TGroupClause \-TGroupState \-THASHACTION \-THASHCTL \-THHDR \-THISTORY_STATE \-THIST_ENTRY \-THTAB \-THash \-THashInfo \-THashItem \-THashItemData \-THashJoin \-THashJoinState \-THashJoinTable \-THashJoinTuple \-THashJoinTupleData \-THashMetaPage \-THashMetaPageData \-THashPageOpaque \-THashPageOpaqueData \-THashPath \-THashScanList \-THashScanListData \-THashScanOpaque \-THashScanOpaqueData \-THashState \-THashTableData \-THashtFunc \-THeapAccessStatistics \-THeapAccessStatisticsData \-THeapMemoryBlock \-THeapMemoryBlockData \-THeapScanDesc \-THeapScanDescData \-THeapTuple \-THeapTupleData \-THeapTupleHeader \-THeapTupleHeaderData \-TINTRANGE \-TIPCKey \-TIdList \-TIdent \-TIdxInfoRetval \-TIndDesc \-TIndInfo \-TIndex \-TIndexAttributeBitMap \-TIndexAttributeBitMapData \-TIndexElem \-TIndexInfo \-TIndexList \-TIndexPath \-TIndexScan \-TIndexScanDesc \-TIndexScanDescData \-TIndexScanDescPtr \-TIndexScanState \-TIndexStmt \-TIndexStrategy \-TIndexStrategyData \-TIndexTuple \-TIndexTupleData \-TInhInfo \-TInhPaths \-TInsertIndexResult \-TInsertIndexResultData \-TInsertStmt \-TIntArray \-TInt_yy_size_t \-TInt_yy_state_type \-TInvalidationEntry \-TInvalidationEntryData \-TInvalidationMessage \-TInvalidationMessageData \-TInvalidationUserData \-TIpcMemoryId \-TIpcMemoryKey \-TIpcSemaphoreId \-TIpcSemaphoreKey \-TItem \-TItemId \-TItemIdData \-TItemIdFlags \-TItemLength \-TItemOffset \-TItemPointer \-TItemPointerData \-TIter \-TJoin \-TJoinExpr \-TJoinInfo \-TJoinKey \-TJoinMethod \-TJoinPath \-TJoinState \-TJunkFilter \-TKEYMAP_ENTRY \-TKEYMAP_ENTRY_ARRAY \-TKeyCode \-TKeySym \-TKeymap \-TLINE \-TLOCK \-TLOCKMETHOD \-TLOCKMETHODCTL \-TLOCKMETHODTABLE \-TLOCKMODE \-TLOCKTAG \-TLSEG \-TLargeObjectDesc \-TLeftistContext \-TLeftistContextData \-TLibCCopyLength \-TList \-TListenStmt \-TLoadStmt \-TLocalInvalid \-TLocationIndex \-TLockInfo \-TLockInfoData \-TLockRelId \-TLockStmt \-TLogRelationContents \-TLogRelationContentsData \-TLookupEnt \-TMASK \-TMarkData \-TMask \-TMaterial \-TMaterialState \-TMdfdVec \-TMemoryContext \-TMemoryContextData \-TMemoryContextMethods \-TMergeInfo \-TMergeJoin \-TMergeJoinState \-TMergeOrder \-TMergePath \-TMsgType \-TName \-TNameData \-TNestLoop \-TNestLoopState \-TNestPath \-TNode \-TNodeTag \-TNoname \-TNotifyEvent \-TNotifyStmt \-TNumeric \-TNumericData \-TNumericDigit \-TNumericDigitBuf \-TNumericVar \-TOffset \-TOffsetNumber \-TOid \-TOpType \-TOpaque \-TOpaqueData \-TOper \-TOperator \-TOprInfo \-TOrderKey \-TOrderType \-TOrderedElem \-TOrderedElemData \-TOrderedSet \-TOrderedSetData \-TOverflowPageAddress \-TPATH \-TPGAsyncStatusType \-TPG_LOCK_LEVEL \-TPGconn \-TPGlobjfuncs \-TPGnotify \-TPGresAttDesc \-TPGresAttValue \-TPGresult \-TPGresult_data \-TPOLYGON \-TPQArgBlock \-TPQconninfoOption \-TPQnoticeProcessor \-TPQprintOpt \-TPROC \-TPROC_HDR \-TPROC_QUEUE \-TPacket \-TPacketDoneProc \-TPacketLen \-TPacketState \-TPage \-TPageHeader \-TPageHeaderData \-TPageManagerMode \-TPageOffset \-TParam \-TParamExecData \-TParamListInfo \-TParamListInfoData \-TParamNo \-TParamString \-TParseState \-TPasswordPacket \-TPasswordPacketV0 \-TPath \-TPathOrder \-TPg_ConnectionId \-TPg_TclNotifies \-TPixmap \-TPlan \-TPoint \-TPointer \-TPool \-TPort \-TPortal \-TPortalBlock \-TPortalBlockData \-TPortalBuffer \-TPortalD \-TPortalEntry \-TPortalHashEnt \-TPortalHeapMemory \-TPortalMemoryContext \-TPortalVariableMemory \-TPredInfo \-TPrinttupAttrInfo \-TPrivateMem \-TProcState \-TProcedureStmt \-TProcessingMode \-TProjectionInfo \-TProtocolVersion \-TPsortstate \-TPsqlSettings \-TQryHier \-TQuery \-TQueryDesc \-TREAD_ROUTINE \-TRTSTACK \-TRTSTATE \-TRTScanList \-TRTScanListData \-TRTreePageOpaque \-TRTreePageOpaqueData \-TRTreeScanOpaque \-TRTreeScanOpaqueData \-TRangeTblEntry \-TRangeVar \-TRecipeStmt \-TRegProcedure \-TRelExpr \-TRelIdCacheEnt \-TRelNameCacheEnt \-TRelOptInfo \-TRelation \-TRelationBuildDescInfo \-TRelationData \-TRelationInfo \-TRelationInvalidationData \-TRelationList \-TRelationPtr \-TRelativeTime \-TRelids \-TRemoveAggrStmt \-TRemoveFuncStmt \-TRemoveOperStmt \-TRemoveStmt \-TRenameStmt \-TResTarget \-TResdom \-TRestrictInfo \-TResult \-TResultState \-TRetrieveIndexResult \-TRetrieveIndexResultData \-TRewriteInfo \-TRewriteRule \-TRowMark \-TRuleLock \-TRuleStmt \-TSEGMENT \-TSEG_OFFSET \-TSEMA \-TSHMEM_OFFSET \-TSHM_QUEUE \-TSISeg \-TSISegEntry \-TSISegOffsets \-TSLock \-TSPINLOCK \-TSPITupleTable \-TSPLITVEC \-TScan \-TScanDirection \-TScanFunc \-TScanKey \-TScanKeyData \-TScanKeyword \-TScreen \-TScreenFormat \-TSelectStmt \-TSeqScan \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -