On Sun, Mar 23, 2014 at 7:57 AM, Amit Kapila <amit.kapil...@gmail.com> wrote: > Anyone has any objection for this behaviour difference between > usage of ::regclass and to_regclass()?
No, I think that makes a lot of sense given the behavior -- if the object is not there, to_regclass() just returns NULL. It doesn't require the object to be present, it should not create a dependency. This allows you to, for example, drop and recreate sequences while tables are still using them. Regards, Marti -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers