Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0zbV-0001GJ-CI for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Jan 2013 19:15:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U0zbU-0001q1-QF for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Jan 2013 19:15:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0veL-0003FV-Mt for pgsql-bugs@postgresql.org; Thu, 31 Jan 2013 15:02:01 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0veH-00050M-7S for pgsql-bugs@postgresql.org; Thu, 31 Jan 2013 15:02:01 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0veF-00030A-KI for pgsql-bugs@postgresql.org; Thu, 31 Jan 2013 15:01:56 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1U0veF-0007cU-7z for pgsql-bugs@postgresql.org; Thu, 31 Jan 2013 15:01:55 +0000 Date: Thu, 31 Jan 2013 15:01:55 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7842: pg_dump scripts view to table To: pgsql-bugs@postgresql.org From: lopuszanski@oleofarm.com X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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:=20=20=20=20=20=20=20=20 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? --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs