Re: Delete from base table and not partitions

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

 



Nuwan Liyanage <alnuwan2@xxxxxxxxx> writes:
>     Now I added the trigger rule to base_table and the data for
>     partition_3 is going to the right place, but I am stuck with some data
>     in the actual base_table. How could I move that data from the base
>     table to the partition_3?

Something involving SELECT ... FROM ONLY base_table and then DELETE FROM
ONLY base_table would do it for you.

			regards, tom lane

--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your Subscription:
http://mail.postgresql.org/mj/mj_wwwusr?domain=postgresql.org&extra=pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux