From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andres Freund <andres(at)2ndquadrant(dot)com>, Tomas Vondra <tv(at)fuzzy(dot)cz>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist |
Date: | 2013-11-11 20:07:56 |
Message-ID: | CAFj8pRAt_Dp0n0yecmpiPyYeMHT8mcaPNe+UsLoGgd20ZXKY=w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
2013/11/11 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> > Turns out that's bogus - ALTER TABLE has two levels of NOT EXISTS.
>
> > Maybe we should just do the same for DROP TRIGGER?
>
> > DROP TRIGGER [ IF EXISTS ] name ON table_name [ IF EXISTS ] [ CASCADE |
> RESTRICT ]
>
> Works for me.
>
for me too
tomorrow I'll prepare patch
Regards
Pavel
>
> regards, tom lane
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jeffrey Walton | 2013-11-11 21:04:52 | Re: BUG #8588: Need work arounds for Apple unaligned access |
Previous Message | Pavel Stehule | 2013-11-11 19:57:51 | Re: Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-11-11 20:36:56 | Re: Add %z support to elog/ereport? |
Previous Message | Pavel Stehule | 2013-11-11 19:57:51 | Re: Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist |