Rubén, OK. En que versión de PostgreSQL estás?
Saludos Eduardo > On Aug 6, 2019, at 08:56, Ruben Fitó <r.f...@ubiquat.com> wrote: > > Hola Eduardo, > > Bueno, a priori no es posible. Hay que hacer una especie de "migración" que > es justo lo que quería evitar por tema de tiempo. > > Se podría hacer una trampilla creando una nueva tabla particionada y haciendo > un attach sobre la tabla actual y crear particiones que no colisionen con la > tabla actual. > > Pero bueno me lo tengo que mirar con cariño ya que hay otras limitaciones, > como las primary key o las foreign key. > > Un saludo. > > On Tue, 6 Aug 2019 at 12:41, Eduardo Arenas <edo...@gmail.com > <mailto:edo...@gmail.com>> wrote: > Rubén, Revisa la documentación oficial > > https://www.postgresql.org/docs/current/ddl-partitioning.html > <https://www.postgresql.org/docs/current/ddl-partitioning.html> > > Saludos > > > El mar., 6 de agosto de 2019 2:02 a. m., Ruben Fitó <r.f...@ubiquat.com > <mailto:r.f...@ubiquat.com>> escribió: > Hola lista, > > Cómo puedo particionar una tabla existente? > > He "googleado" y veo que hay que crear tabla auxiliar, triggers, etc... > > PG11 no tiene alguna forma de hacerlo ? Si lo hay, no he llegado a esa parte > de la documentación, jajaj. > > Gracias por adelantado. > > Saludos > > > -- > Ruben Fitó > Software Engineer > > r.f...@ubiquat.com <mailto:j.catari...@ubiquat.com> > www.ubiquat.com <http://www.ubiquat.com/> > Tota la informació continguda en aquest document i arxius adjunts és > CONFIDENCIAL protegida per llei de secret comercial. Si l'ha rebut per error, > si us plau elimini'l i posi's en contacte amb l'emissor. > > All information contained in this document and any attachments are > CONFIDENTIAL and protected under trade secret laws. If you receive this > message by mistake, please delete it and notify it immediately to the sender. > > > -- > Ruben Fitó > Software Engineer > > r.f...@ubiquat.com <mailto:j.catari...@ubiquat.com> > www.ubiquat.com <http://www.ubiquat.com/> > Tota la informació continguda en aquest document i arxius adjunts és > CONFIDENCIAL protegida per llei de secret comercial. Si l'ha rebut per error, > si us plau elimini'l i posi's en contacte amb l'emissor. > > All information contained in this document and any attachments are > CONFIDENTIAL and protected under trade secret laws. If you receive this > message by mistake, please delete it and notify it immediately to the sender.