Re: CREATE TABLE creates a composite type corresponding to the table row, which is and is not there

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: Hannu Krosing <hannuk(at)google(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: CREATE TABLE creates a composite type corresponding to the table row, which is and is not there
Date: 2024-04-04 01:29:50
Message-ID: CAKFQuwYCqsapMBvQm9hTpD7urTaaOtJbpkpe7GaXr5ksMT58rA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 28, 2024 at 8:02 PM Erik Wienhold <ewie(at)ewie(dot)name> wrote:

> Thanks, that sounds better. I incorporated that with some minor edits
> in the attached v3.
>

Looks good.

You added my missing ( but dropped the comma after "i.e."

diff --git a/doc/src/sgml/ref/create_table.sgml
b/doc/src/sgml/ref/create_table.sgml
index dc69a3f5dc..b2e9e97b93 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -251,7 +251,7 @@ WITH ( MODULUS <replaceable
class="parameter">numeric_literal</replaceable>, REM
<para>
Creates a <firstterm>typed table</firstterm>, which takes its
structure
from an existing (name optionally schema-qualified) stand-alone
composite
- type (i.e. created using <xref linkend="sql-createtype"/>) though it
+ type (i.e., created using <xref linkend="sql-createtype"/>) though it
still produces a new composite type as well. The table will have
a dependency on the referenced type such that cascaded alter and drop
actions on the type will propagate to the table.

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2024-04-04 01:37:48 Re: Streaming read-ready sequential scan code
Previous Message Michael Paquier 2024-04-04 01:14:52 Re: Statistics Import and Export