Re: How do I...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Tomblin <ptomblin(at)xcski(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I...
Date: 2001-04-01 22:51:12
Message-ID: 2608.986165472@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paul Tomblin <ptomblin(at)xcski(dot)com> writes:
> Oh, and if I try and cast them both to varchar, the thing freaks out:

> waypoint=> select b.id, a.icao,a.faa_host_id from dafif_arpt a, waypoint b
> where b.id::varchar = a.icao::varchar;
> pqReadData() -- backend closed the channel unexpectedly.
> This probably means the backend terminated abnormally
> before or while processing the request.

What in the world...!?

What version are you running? What is the full schema for both tables?
("pg_dump -s -t tablename dbname" is the best way to get the complete
schema info.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 2001-04-01 22:52:03 RE: Can I get the default value for an attribute (field) ?
Previous Message Tom Lane 2001-04-01 22:42:04 Re: another index question