Re: BUG #11176: Doc bug: New York City is *not* the capital of New York State.
В списке pgsql-bugs по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: BUG #11176: Doc bug: New York City is *not* the capital of New York State. |
| Дата | |
| Msg-id | 53EDB070.8030202@vmware.com обсуждение исходный текст |
| Ответ на | BUG #11176: Doc bug: New York City is *not* the capital of New York State. (hartzell@alerce.com) |
| Список | pgsql-bugs |
On 08/15/2014 06:32 AM, hartzell@alerce.com wrote:
> This example, in section 5.8, Inheritance, suggests that someone thinks that
> New York the city is the capital of New York the state.
>
>> INSERT INTO cities (name, population, altitude, state)
> VALUES ('New York', NULL, NULL, 'NY');
>> We might hope that the data would somehow be routed to the capitals table,
> but this does not happen: INSERT always inserts into exactly the table
> specified. In some cases it is possible to redirect the insertion using a
> rule (see Chapter 38). However that does not help for the above case because
> the cities table does not contain the column state, and so the command will
> be rejected before the rule can be applied.
>
> The example would make more sense if the city were Albany.
Fixed, thanks.
- Heikki
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера