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

Поиск
Список
Период
Сортировка
От Erik Wienhold
Тема Re: CREATE TABLE creates a composite type corresponding to the table row, which is and is not there
Дата
Msg-id ab400585-e89d-4479-a4bf-0a1c122b7bbf@ewie.name
обсуждение исходный текст
Ответ на Re: CREATE TABLE creates a composite type corresponding to the table row, which is and is not there  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: CREATE TABLE creates a composite type corresponding to the table row, which is and is not there
Список pgsql-hackers
On 2024-07-25 22:29 +0200, Tom Lane wrote:
> Erik Wienhold <ewie@ewie.name> writes:
> > Thanks, I didn't know that guideline.  Both fixed in v6.
> 
> This still isn't following our usual message style IMO.  Here's a
> proposed v7 that outputs
> 
> -ERROR:  type stuff is not a composite type
> +ERROR:  type stuff is the row type of another table
> +DETAIL:  A typed table must use a stand-alone composite type created with CREATE TYPE.
> 
> I did a bit of copy-editing on the docs changes too.  One notable
> point is that I dropped the parenthetical bit about "(name optionally
> schema-qualified)".  That struck me as quite unnecessary, and
> it definitely doesn't read well to have two parenthetical comments
> in a single four-line sentence.

Works for me.  Thanks!

-- 
Erik



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: How to check if issue is solved?
Следующее
От: Amit Langote
Дата:
Сообщение: Re: pgsql: Add more SQL/JSON constructor functions