Re: Strange dump/restore effect

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gražvydas Valeika <gvaleika(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange dump/restore effect
Date: 2012-09-24 01:02:48
Message-ID: 6302.1348448568@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?UTF-8?Q?Gra=C5=BEvydas_Valeika?= <gvaleika(at)gmail(dot)com> writes:
> I just migrated to 9.2 and observing stange thing.

> While restoring 9.2 database to another server's empty database I'm getting
> several errors while restoring views:

> pg_restore: creating RULE _RETURN
> pg_restore: [archiver (db)] Error while PROCESSING TOC:
> pg_restore: [archiver (db)] Error from TOC entry 5466; 2618 26660 RULE
> _RETURN postgres
> pg_restore: [archiver (db)] could not execute query: ERROR: syntax error
> at or near ")"
> LINE 2: ALTER VIEW v_vehicle SET ();
> ^

Could you provide a self-contained example of a view that causes this?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Arun R T 2012-09-24 03:50:53 Prolem to acess PostgeSQL from other mechine
Previous Message Joe Van Dyk 2012-09-23 23:51:41 Fetching json: best way to do this?