Re: Delete w/ regexp

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Steve Wolfe <steve(at)iboats(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Delete w/ regexp
Date: 2001-04-19 21:23:35
Message-ID: Pine.BSF.4.21.0104191423070.88236-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Do you have any triggers or fk constraints that reference
the table?

On Thu, 19 Apr 2001, Steve Wolfe wrote:

>
> On one of our tables, this works fine:
>
> select * from images where path ~* 'packages/site_system';
>
> However, this:
>
> delete from images where path ~* 'packages/site_system';
>
> will make it work for a second or two, then give:
>
> pqReadData() -- backend closed the channel unexpectedly.
> This probably means the backend terminated abnormally
> before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.
>
> This is with Postgres 7.0.2. Any ideas what's going on?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-04-19 21:28:27 Re: Authentication Question
Previous Message Oliver Elphick 2001-04-19 21:21:06 Re: [GENERAL] Debian packages for 7.1 ???