Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: failed to find conversion function from "unknown" to text


  • From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
  • To: Sz?cs Gábor <surrano(at)gmail(dot)com>
  • Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
  • Subject: Re: failed to find conversion function from "unknown" to text
  • Date: Wed, 12 Jan 2005 12:23:28 -0500
  • Message-id: <20050112172328.GD28484@phlogiston.dyndns.org> <text/plain>

On Wed, Jan 12, 2005 at 05:52:42PM +0100, Sz?cs Gábor wrote:
> Question: is there a way to tell the server to convert unknown to something 
> (text or varchar, don't really care), or to write such a "conversion 
> function"?

You ought to be able to cast (e.g. "SELECT case 'a'::text. . .)

A

-- 
Andrew Sullivan  | ajs(at)crankycanuck(dot)ca
Information security isn't a technological problem.  It's an economics
problem.
		--Bruce Schneier



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group