Hola Álvaro

El dom., 2 de mayo de 2021 10:00 p. m., Alvaro Herrera <
alvhe...@alvh.no-ip.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
>

Reply via email to