Search Postgresql Archives

Re: Regarding use of single column as primary key on partitioned table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Sep 27, 2024, at 21:25, Durgamahesh Manne <maheshpostgres9@xxxxxxxxx> wrote:
> 
> Can't we use primary key on singal column(betid) on partitioned table rather than using composite key (placedon,betid)?

No.  Any unique constraint on a partitioned table must include the partition key, including a primary key constraint.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux