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

Re: regclass without error?

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: robertmhaas(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: regclass without error?
Date: 2010-09-03 13:46:40
Message-ID: 20100903.224640.83749289.t-ishii@sraoss.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
> You can write a query against the system catalog tables.

That was pretty hard than I though(schema search path etc.).

> Or you could
> install a function that wraps the regclass cast in an exception
> handler.

That requires users to install the function. Annoying for users.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

In response to

Responses

pgsql-hackers by date

Next:From: Stephen FrostDate: 2010-09-03 13:56:12
Subject: Re: Streaming a base backup from master
Previous:From: Robert HaasDate: 2010-09-03 13:44:40
Subject: Re: english parser in text search: support for multiple words in the same position

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group