BUG #7842: pg_dump scripts view to table

Поиск
Список
Период
Сортировка
От lopuszanski@oleofarm.com
Тема BUG #7842: pg_dump scripts view to table
Дата
Msg-id E1U0veF-0007cU-7z@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #7842: pg_dump scripts view to table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7842
Logged by:          Maciej =C5=81opusza=C5=84ski
Email address:      lopuszanski@oleofarm.com
PostgreSQL version: 9.1.7
Operating system:   ubuntu 12.04
Description:        =


hello,
1. after using pg_dump to dump WHOLE database to file, 1 of views 'turned'
into a table.

so there is no 'create or replace VIEW XXXX .......' with definition, but
instead:
its scripted as 'create TABLE XXXX......' and definition.(in file that
pg_dump created)

2. but after using pg_dump to dump only this 1 problematic 'view'  (with -t
option) it stores it correcly as 'create or replace VIEW XXXX .......'

it looks like pg_dump has problem with dependancies of this view.....

what other information I should supply to solve this mystery of pg_dump?

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

Предыдущее
От: digoal@126.com
Дата:
Сообщение: BUG #7840: PostgreSQL 9.3 devel select for no key share lock bug?
Следующее
От: biernatj@interia.pl
Дата:
Сообщение: BUG #7841: Multithreading in libpq is not working