From: sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: type regclass casting
Date: Mon, 31 May 2004 11:52:42 +0400
Message-ID: <200405311152.42932.sad@bankir.ru> (raw)
In-Reply-To: <40BAC7E5.4020509@mozdev.org>
References: <40BAC7E5.4020509@mozdev.org>
hello
look
select * from pg_class where oid = 'sometablename'::regclass;
(1 row)
select * from pg_class where oid = 'sometablename'::text::regclass;
ERROR can not cast TEXT to regclass
What does this mean ?
version 7.3.3
please try it on 7.4.x
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sad@bankir.ru
Subject: Re: type regclass casting
In-Reply-To: <200405311152.42932.sad@bankir.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox