Re: (long) What's the problem?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David Olbersen" <DOlbersen(at)stbernard(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: (long) What's the problem?
Date: 2003-06-07 15:25:37
Message-ID: 15507.1054999537@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David Olbersen" <DOlbersen(at)stbernard(dot)com> writes:
> urldb2=> EXPLAIN ANALYZE
> urldb2-> SELECT
> urldb2-> id,
> urldb2-> source,
> urldb2-> insertedby,
> urldb2-> insertedon,
> urldb2-> priority
> urldb2-> FROM
> urldb2-> indexscan
> urldb2-> WHERE
> urldb2-> lower(
> urldb2-> substring(
> urldb2-> urlhost( source ), rposition( 'www.', urlhost( source ) ) + 2
> urldb2-> )
> urldb2-> ) ~ '^q.*'
> urldb2-> ORDER BY source;

> server closed the connection unexpectedly

Get out your debugger and look at the core file left by the crashing
backend (should be $PGDATA/base/yourdbnumber/core, or some variant of
that name). If you see no core file in $PGDATA/base/yourdbnumber,
restart the postmaster with "ulimit -c unlimited" and try again.

> rposition() is a volatile custom C function.

The odds are excellent that this is a bug in your custom C code.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2003-06-07 15:34:56 Re: update phenomenom
Previous Message Stephan Szabo 2003-06-07 15:22:16 Re: Order By ignoring "-" character