pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lopuszanski@oleofarm.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7842: pg_dump scripts view to table
Date: Thu, 31 Jan 2013 15:01:55 +0000
Message-ID: <E1U0veF-0007cU-7z@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      7842
Logged by:          Maciej Łopuszański
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?



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <E1U0veF-0007cU-7z@wrigleys.postgresql.org>
Permalink:  ../E1U0veF-0007cU-7z@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1U0veF-0007cU-7z@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: lopuszanski@oleofarm.com
  Subject: Re: BUG #7842: pg_dump scripts view to table
  In-Reply-To: <E1U0veF-0007cU-7z@wrigleys.postgresql.org>
  References: <E1U0veF-0007cU-7z@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox