Re: How to return argument data type from sql function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrus <kobruleht2(at)hot(dot)ee>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to return argument data type from sql function
Date: 2022-10-14 22:19:39
Message-ID: 1423294.1665785979@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrus <kobruleht2(at)hot(dot)ee> writes:
> How to change this query so that it searches schemas in set search_path
> order and returns column width from it ? In this case p_namespace
> parameter can removed.

I showed you that already: regclass will take care of it.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-10-14 23:17:54 Re: Where to flag an issue with EDB's PG15 Windows installer?
Previous Message David G. Johnston 2022-10-14 22:14:05 Re: How to return argument data type from sql function