pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: nicolas@cns.com.cy
Subject: TABLESPACE
Date: Sun, 04 Sep 2022 08:00:46 +0000
Message-ID: <166227844609.1235912.8608462614653193557@wrigleys.postgresql.org> (raw)

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;

ALTER TABLE IF EXISTS "DbTest"."Test"
    OWNER to postgres;

What the command TABLESPACE on it's own does or how it should be used is not
documented at all

Thanks


view thread (3+ messages)  latest in thread

Message-ID: <166227844609.1235912.8608462614653193557@wrigleys.postgresql.org>
Permalink:  ../166227844609.1235912.8608462614653193557@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/166227844609.1235912.8608462614653193557@wrigleys.postgresql.org

 · 

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: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, nicolas@cns.com.cy
  Subject: Re: TABLESPACE
  In-Reply-To: <166227844609.1235912.8608462614653193557@wrigleys.postgresql.org>

* 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