readme

来自「关系型数据库 Postgresql 6.5.2」· 代码 · 共 36 行

TXT
36
字号
Bruce Momjian <maillist@candle.pha.pa.us>Here are some of the scripts I use to make development easier.First, I use 'cporig' on every file I am about to change.  This makes acopy with the extension .orig.  If an .orig already exists, I am warned.I can get really fancy with this.  I can do 'cporig *' and make a .origfor every file in the current directory.  I can:	cporig `grep -l HeapTuple *`If I use mkid (from ftp.postgreSQL.org), I can do:		cporig `lid -kn 'fsyncOff'`and get a copy of every file containing that word.  I can then do:	vi `find . -name '*.orig'`or even better (using mkid):	eid fsyncOffto edit all those files.When I am ready to generate a patch, I run 'difforig' command from the top ofthe source tree:	I pipe the output of this to a file to hold my patch, and the file namesit processes appear on my screen.  It creates a nice patch for me of allthe files I used with cporig.Finally, I remove my old copies with 'rmorig'.

⌨️ 快捷键说明

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