Re: Question related to partitioning with pg_partman

2024-03-10 Thread Adrian Klaver
On 3/10/24 11:34, sud wrote: On Sun, Mar 10, 2024 at 11:31 PM Adrian Klaver mailto:adrian.kla...@aklaver.com>> wrote: 1) The partition will be across one day(24 hours) it is just the times may confuse people. Per you example 2024-03-07 00:00:00+00  is the same time as 2024-03-06

Re: Question related to partitioning with pg_partman

2024-03-10 Thread sud
On Sun, Mar 10, 2024 at 11:31 PM Adrian Klaver wrote: > 1) The partition will be across one day(24 hours) it is just the times > may confuse people. Per you example 2024-03-07 00:00:00+00 is the same > time as 2024-03-06 19:00:00-05 for EST. The issue is that the +00 and > -05 maybe ignored.

Re: Question related to partitioning with pg_partman

2024-03-10 Thread Adrian Klaver
On 3/10/24 10:51, sud wrote: On Sun, Mar 10, 2024 at 10:32 PM Adrian Klaver mailto:adrian.kla...@aklaver.com>> wrote: On 3/10/24 05:12, sud wrote: > > In my example in the first post, I see, if someone connected to a RDS > Postgres database and run the create partition

Re: Question related to partitioning with pg_partman

2024-03-10 Thread sud
On Sun, Mar 10, 2024 at 10:32 PM Adrian Klaver wrote: > On 3/10/24 05:12, sud wrote: > > > > In my example in the first post, I see, if someone connected to a RDS > > Postgres database and run the create partition command using pg_partman > > by setting the timezone as "UTC", the 7th march

Re: Question related to partitioning with pg_partman

2024-03-10 Thread Adrian Klaver
On 3/10/24 05:12, sud wrote: '2024-03-07 00:00:00+00' and '2024-03-06 19:00:00-05' are the same time as is '2024-03-07 00:00:00-05' and '2024-03-07 05:00:00+00'. Still I would think for sanity sake you would want to stick with UTC. Thank you so much Adrian. In my example in

Re: Question related to partitioning with pg_partman

2024-03-10 Thread sud
On Sat, Mar 9, 2024 at 3:41 AM Adrian Klaver wrote: > On 3/8/24 00:23, sud wrote: > > > > Starting a new thread... > > > > Something interesting and not sure if its expected behaviour as below. > > We are also confused a bit here. > > > > In the below example we created two partitioned tables on

Re: Question related to partitioning with pg_partman

2024-03-08 Thread Adrian Klaver
On 3/8/24 00:23, sud wrote: Starting a new thread... Something interesting and not sure if its expected behaviour as below. We are also confused a bit here. In the below example we created two partitioned tables on timestamptz type columns with different time zones and the child partitions

Re: Question related to partitioning with pg_partman

2024-03-08 Thread sud
Can somebody help me to understand the behaviour? >

Question related to partitioning with pg_partman

2024-03-08 Thread sud
Starting a new thread... Something interesting and not sure if its expected behaviour as below. We are also confused a bit here. In the below example we created two partitioned tables on timestamptz type columns with different time zones and the child partitions are created appropriately with