(1)SET datestyle TO "ISO, MDY";这种方法只对当前会话生效。
(2)
alter role xxx set datestyle TO "ISO, MDY"
alter database xxx set datestyle TO "ISO, MDY";
(1)SET datestyle TO "ISO, MDY";这种方法只对当前会话生效。
(2)
alter role xxx set datestyle TO "ISO, MDY"
alter database xxx set datestyle TO "ISO, MDY";