Delete w/ regexp

From: "Steve Wolfe" <steve(at)iboats(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Delete w/ regexp
Date: 2001-04-19 20:55:50
Message-ID: 002301c0c913$205b7480$50824e40@iboats.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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?

steve

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Wolfe 2001-04-19 21:08:39 Re: Delete w/ regexp
Previous Message Matthew Hixson 2001-04-19 20:31:14 Re: syntax error 44 : ->