Re: Attach tabla con datos a partición nativa

From: Hellmuth Vargas <hivs77(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Lista Postgres ES <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Attach tabla con datos a partición nativa
Date: 2021-05-03 03:06:55
Message-ID: CAN3Qy4rnwJUir=1spMPpr+pGMej07A8pspNtbz8sKYTwyBxAQA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hola Álvaro

El dom., 2 de mayo de 2021 10:00 p. m., Alvaro Herrera <
alvherre(at)alvh(dot)no-ip(dot)org> escribió:

> Hellmuth Vargas escribió:
>
> > La instrucciones que ejecute básicamente fueron:
> >
> > CREATE TABLE llamadas (
> > campos
> > ) PARTITION BY RANGE (fecha);
>
> ¿hay índice o PK en estos campos?

Si señor, PK

CREATE TABLE llamadas (
id bigserial not null,
fecha timestamp,
constraint pk_llamadas primary key (id, fecha)
) PARTITION BY RANGE (fecha);

¿qué versión de Postgres?
>

PostgreSQL 11.9

>
>
>
> --
> Álvaro Herrera Valdivia, Chile
> "I must say, I am absolutely impressed with what pgsql's implementation of
> VALUES allows me to do. It's kind of ridiculous how much "work" goes away
> in
> my code. Too bad I can't do this at work (Oracle 8/9)." (Tom
> Allison)
>
> http://archives.postgresql.org/pgsql-general/2007-06/msg00016.php
>

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2021-05-03 12:04:44 Re: Attach tabla con datos a partición nativa
Previous Message Alvaro Herrera 2021-05-03 03:00:02 Re: Attach tabla con datos a partición nativa