pg.ddx.io pgsql-docs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: nicolas@cns.com.cy
To: pgsql-docs@lists.postgresql.org
Subject: Re: TABLESPACE
Date: Sun, 4 Sep 2022 11:45:45 +0200
Message-ID: <CAECtzeW919F0CmbgrS0DRBb_csFii9ftSnXfJJbPEMFnCedmRg@mail.gmail.com> (raw)
In-Reply-To: <166227844609.1235912.8608462614653193557@wrigleys.postgresql.org>
References: <166227844609.1235912.8608462614653193557@wrigleys.postgresql.org>
Le dim. 4 sept. 2022, 10:19, PG Doc comments form <noreply@postgresql.org>
a écrit :
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/14/sql-createtablespace.html
> Description:
>
> When exporting a table create script pgAdmin includes a command "TABLESPACE
> pg_default;" such as below
>
> CREATE TABLE IF NOT EXISTS "DbTest"."Test"
> (
> "TestID" integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1
> START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
> "TestName" character varying(80) COLLATE pg_catalog."default" NOT
> NULL,
> "CreateTimestamp" timestamp without time zone NOT NULL DEFAULT
> LOCALTIMESTAMP,
> "UpdateTimestamp" timestamp without time zone NOT NULL DEFAULT
> LOCALTIMESTAMP,
> CONSTRAINT "Test_pk" PRIMARY KEY ("TestID"),
> )
>
> TABLESPACE pg_default;
>
As you can see, there's no ";" between ")" and "TABLESPACE", so it's not a
command on its own but another clause of the CREATE TABLE statement. It
indicates the tablespace for the new table.
view thread (3+ messages) latest in thread
Message-ID: <CAECtzeW919F0CmbgrS0DRBb_csFii9ftSnXfJJbPEMFnCedmRg@mail.gmail.com> Permalink: ../CAECtzeW919F0CmbgrS0DRBb_csFii9ftSnXfJJbPEMFnCedmRg@mail.gmail.com/ Also on: postgresql.org/message-id/CAECtzeW919F0CmbgrS0DRBb_csFii9ftSnXfJJbPEMFnCedmRg@mail.gmail.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-docs@postgresql.org Cc: guillaume@lelarge.info, nicolas@cns.com.cy, pgsql-docs@lists.postgresql.org Subject: Re: TABLESPACE In-Reply-To: <CAECtzeW919F0CmbgrS0DRBb_csFii9ftSnXfJJbPEMFnCedmRg@mail.gmail.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox