Fwd: [Bug] Logical Replication failing if the DateStyle is different in Publisher & Subscriber - Mailing list pgsql-hackers

From Sadhuprasad Patro
Subject Fwd: [Bug] Logical Replication failing if the DateStyle is different in Publisher & Subscriber
Date
Msg-id CAFF0-CF=D7pc6st-3A9f1JnOt0qmc+BcBPVzD6fLYisKyAjkGA@mail.gmail.com
Whole thread Raw
Responses Re: [Bug] Logical Replication failing if the DateStyle is different in Publisher & Subscriber
List pgsql-hackers
Hi All,

Publisher 'DateStyle' is set as "SQL, MDY", whereas in Subscriber as
"SQL, DMY", the logical replication is not working...

From Publisher:
postgres=# INSERT INTO calendar VALUES ('07-18-1036', '1'), ('05-15-1135', '1');
INSERT 0 2

Getting below error in the subscriber log file,
2021-10-14 00:59:23.067 PDT [38262] ERROR:  date/time field value out
of range: "07/18/1036"
2021-10-14 00:59:23.067 PDT [38262] HINT:  Perhaps you need a
different "datestyle" setting.

Is this an expected behavior?

Thanks & Regards
SadhuPrasad
http://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: "蔡梦娟(玊于)"
Date:
Subject: Some doubts about streaming startpoint in WaitForWALToBecomeAvailable()
Next
From: Amit Kapila
Date:
Subject: Re: Added schema level support for publication.