Re: [DOCS] intagg.sgml: example wrongly named and does not compile

Поиск
Список
Период
Сортировка
От Christophe Courtois
Тема Re: [DOCS] intagg.sgml: example wrongly named and does not compile
Дата
Msg-id ba54d8fa-603f-c789-2bc4-e6e86b7b01b2@dalibo.com
обсуждение исходный текст
Ответ на Re: [DOCS] intagg.sgml: example wrongly named and does not compile  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [DOCS] intagg.sgml: example wrongly named and does not compile  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
Le 21/04/2017 à 17:45, Tom Lane a écrit :
> Christophe Courtois <christophe.courtois@dalibo.com> writes:
>> I've found out that the example in intagg.sgml is wrongly named: the
>> one-to-many table is a many-to-many.
> Well, it'd depend on how it was used.  The example clearly intends that
> it be one-to-many, and I'm not sure it still makes sense without that
> restriction.  Maybe better to add a unique constraint on
> one_to_many(left)?

Perhaps the whole example can be simplified to get rid of the "left"
table, but I didn't intend to rewrite it.

>> And my colleague Thibaut Madeleine has seen that the "CREATE TABLE
>> right" and "CREATE TABLE left" examples cannot compile due to the
>> reserved words.
> Ouch.  Shows you how old this module is :-(

Indeed.

>> I propose the attached patch to fix that.
> Um, the attached file seems empty from here.

Ooops, sorry. It is attached.




--
Christophe Courtois
Consultant Dalibo
http://dalibo.com/  -  http://dalibo.org/

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] intagg.sgml: example wrongly named and does not compile
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [DOCS] There is one "a" too much