pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
type regclass casting
2+ messages / 2 participants
[nested] [flat]

* type regclass casting
@ 2004-05-28 09:29  sad <sad@spider.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: sad @ 2004-05-28 09:29 UTC (permalink / raw)
  To: pgsql-sql

hello

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 




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* type regclass casting
@ 2004-05-31 07:52  sad <sad@bankir.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: sad @ 2004-05-31 07:52 UTC (permalink / raw)
  To: pgsql-sql

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 





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-05-31 07:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28 09:29 type regclass casting sad <sad@spider.ru>
2004-05-31 07:52 type regclass casting sad <sad@bankir.ru>

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