Re: idea: multiple arguments to_regclass function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: idea: multiple arguments to_regclass function
Date
Msg-id 2176980.1681655003@sss.pgh.pa.us
Whole thread Raw
In response to idea: multiple arguments to_regclass function  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: idea: multiple arguments to_regclass function
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> I missing some variants of to_regclass

> to_regclass(schemaname, objectname)
> to_regclass(catalogname, schemaname, objectname)

Can do that already:

to_regclass(quote_ident(schemaname) || '.' || quote_ident(objectname))

I'm not eager to build nine more to_reg* functions to do the equivalent
of that, and even less eager to build eighteen.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Direct I/O
Next
From: Tom Lane
Date:
Subject: Re: Can we delete the vacuumdb.sgml notes about which version each option was added in?