Re: How to drop a temporary view?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to drop a temporary view?
Date: 2012-04-20 18:02:03
Message-ID: 11082.1334944923@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it> writes:
> The weirdness is that it doesn't produce any notice the first two times.
> At the third invocation I see the notice coming out.

I'd suggest tweaking the exception handler to print the error it caught;
that would probably clarify what is happening.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Angelico 2012-04-20 18:17:30 Re: pg_advisory_lock() and row deadlocks
Previous Message Vincenzo Romano 2012-04-20 17:59:42 Re: How to drop a temporary view?