PostgreSQL 8.2.3 婺桺桺懼
劯锔媆锔䆹17. 橉媇単陉䘞媆誕嬉誕

17.15. 嚔埏庺叻锬釹

婋麵䔇锬釹䕞䔇滇婘 PostgreSQL 傼乕婪嘪䫘幽婫婘昊底愙喕婋埇傖婞媷敵崉婖麉托废庖䔇昄扞康㔗婘䫘库䯇嵄麯澇橬䊖䫌嘪䫘認底螆䘞㔗啹溴潏傸檪傡傸傯湙冋 postgresql.conf 桺傽婺毐鍴庖庺寂㔗臙濘懟螩崔認底锬釹襕挗䬹枪䔇溊傼乕䚡臏湺媖欉脘誊蘸㔗

allow_system_table_mods (boolean)

噕螩媞櫹係䂘臘䔇䂷悇㔗垄埇傖赆 initdb 嘪䫘㔗認婻唚埻脘婘橉媇単劇媘䔇施唍螆䘞㔗

debug_assertions (boolean)

欷嚔劇䓉桺蘔演昖㔗認滇脄臘媷欋㔗套悩嘹䂟寖庖喺攻䔇閞鵻潡蔙嘷溄闼幽嘹埇脘嚔愿檪認婻欷嚔啹婺垄埇脘攘驾䚡䘋䔇髍臇㔗襕嘪䫘認婻锬釹潏傸媙釂婘䚡臏 PostgreSQL 䔇施唍垔幬垟 USE_ASSERT_CHECKING(锔誺 configure 锬釹 --enable-cassert 垯潊)㔗臙濘懟套悩劇䫘桺蘔锬釹䚡臏 PostgreSQL 闼幽 debug_assertions 䚺䩕儌滇 on

ignore_system_indexes (boolean)

臂埡係䂘臘施媘䘖係䂘䘵嚘(嘖滇媞櫹係䂘臘施冺䇽劯施媞櫹䘵嚘)㔗認婻婘傯係䂘䘵嚘赆乘废䔇臘婺敵崉昄扞䔇施唍冽橬䫘㔗臖埗昄婉脘婘嚔臺劇媘幋劯媞櫹㔗

post_auth_delay (integer)

套悩婺麂镽闼幽婘婔婻桄䔇橉媇単誕䘋劇媘幽垯潊螴臕誺䘋幋劯儌嚔傽誘認幽崔䓐㔗認湙儌䂍潏傸婔婻橺嚔䫘脄臘単鍇五婘婔婻橉媇単誕䘋婪虘詻螴臕麯麵䔇嚗婩臯婺㔗臖埗昄婉脘婘嚔臺劇媘幋劯媞櫹㔗

pre_auth_delay (integer)

套悩婺麂镽闼幽婘婔婻桄䔇橉媇単誕䘋昆䫘庺準幋劯儌嚔傽誘認幽崔䓐䇽劯欉嚔䂓䂺螴臕誺䘋㔗認湙儌䂍潏傸婔婻橺嚔䫘脄臘単鍇五婘婔婻橉媇単誕䘋婪虘詻螴臕麯麵䔇嚗婩臯婺㔗認婻锬釹埻脘婘橉媇単劇媘䔇施唍潡蔙婘 postgresql.conf 桺傽麯螆䘞㔗

trace_notify (boolean)

LISTENNOTIFY 变傴䫘潊崓麟脄臘膷庺㔗client_min_messageslog_min_messages 媙釂滇 DEBUG1 潡蔙敘嘯欉脘檪認底膷庺彖彆埏锕彄垵潙䆇潡蔙橉媇単斖媖㔗

trace_sort (boolean)

套悩欷嚔埏庺婘毐废淉嘩婺䔇蕇溊嘪䫘䔇橬噿媇敇㔗認婻锬釹埻橬婘䚡臏 PostgreSQL 䔇施唍垔幬庖 TRACE_SORT 垟䔇施唍欉埇䫘(婉誺䕞嬉 TRACE_SORT 䚺䩕儌滇垔幬庖䔇)㔗

trace_locks (boolean)
trace_lwlocks (boolean)
trace_userlocks (boolean)
trace_lock_oidmin (boolean)
trace_lock_table (boolean)
debug_deadlocks (boolean)
log_btree_build_stats (boolean)

劇䓉噽垄䔇傼乕虘詻启脄臘锬釹㔗

wal_debug (boolean)

欷嚔 WAL 䕩噿䔇脄臘膷庺㔗埻橬婘䚡臏 PostgreSQL 䔇施唍欷嚔庖 WAL_DEBUG 垟䔇愙喕婋認婻锬釹欉埇䫘㔗

zero_damaged_pages (boolean)

套悩冥敋彄婔婻托废庖䔇釕麵崘锔婩嚔凚躘 PostgreSQL 檖只婔婻髍臇幽婫锔庺嘷嬉变傴㔗檪 zero_damaged_pages 螆䘞婺 on 彍傴係䂘檖只婔婻躥只檪托废䔇釕麵准噙镽䇽劯䂓䂺崇䊖㔗認䓉臯婺嚔乘废昄扞幘儌滇欔橬婘噾䂟托废釕麵婪䔇臯㔗嘖滇垄噕螩嘹䂘嚔废釕麵䇽劯傯臘婺儔庻䔇橻托废釕麵婪䂓䂺演䘵昄扞臯㔗啹溴垄婘啹婺䇸傽潡蔙蘇傽髍臇凚躘䔇嘷溄婺誕臯敵崉滇冽橬䫘䔇㔗锔婩嘹婉庫臖檪垄螆䘞婺 on 鍴麂嘹噾䂟嘂庘櫆嚄傯嘷溄䔇釕麵婺敵崉昄扞㔗䚺䩕䔇螆䘞滇 off 幽婫埻橬轙亓䫘潙埇傖櫹埻垄㔗


劯锔饡釕嬉誕
躻垔幬䔇锬釹婪婔亓䘺锬釹