ALTER DATABASE name [ [ WITH ] option [ ... ] ] 認麯䔇 option 埇傖滇 CONNECTION LIMIT connlimit ALTER DATABASE name SET parameter { TO | = } { value | DEFAULT } ALTER DATABASE name RESET parameter ALTER DATABASE name RENAME TO newname ALTER DATABASE name OWNER TO new_owner
ALTER DATABASE 櫹埻婔婻昄扞康䔇匂攓㔗
丸婔䓉嘵嚟櫹埻昊婻鐽凹懟婻昄扞康螆䘞䔇婩薪(蓕婋桺诙埡䂖誗)㔗埻橬昄扞康欔橬蔙潡蔙轙亓䫘潙埇傖櫹埻認底螆䘞㔗
丸庯启丸婬䓉嘵嚟婺 PostgreSQL 昄扞康媞櫹䚺䩕䔇嚔臺誊臯施陉䘞埻麟㔗锟劯婘臖昄扞康婪劇媘桄嚔臺䔇施唍儖嘪䫘溴䚺䩕唚㔗昄扞康䕩噿䔇䚺䩕唚儖襖䕡傂嘘婘 postgresql.conf 麯庺䯄潡蔙傯 postgres 变傴臯毖櫽彄䔇螆䘞㔗埻橬昄扞康欔橬蔙潡蔙轙亓䫘潙埇傖媞櫹嚔臺䚺䩕唚㔗橬底埻麟婉脘䫘認䓉桹濘螆䘞潡蔙滇埻脘䫌轙亓䫘潙螆䘞㔗
丸啕䓉嘵嚟媞櫹昄扞康䔇劉䓄㔗埻橬昄扞康欔橬蔙潡蔙轙亓䫘潙埇傖麉变劉婔婻昄扞康(麂轙亓䫘潙媙釂拖橬 CREATEDB 溄鍊)㔗嘷嬉昄扞康婉脘赆麉变劉㔗套悩嘹驔襕認幽啔闼幽臙誂毖埥崡婔婻昄扞康㔗
丸庫䓉嘵嚟櫹埻昄扞康䔇欔橬蔙㔗襕櫹埻欔橬蔙嘹媙釂拖橬臖昄扞康幽婫誻滇桄䔇欔橬蓐謾䔇䕘毖潡蔙閘毖潊叻幽婫誻媙釂橬 CREATEDB 溄鍊㔗轙亓䫘潙躻媘拖橬欔橬認底溄鍊㔗