pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrus <kobruleht2@hot.ee>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: How to return argument data type from sql function
Date: Fri, 14 Oct 2022 18:19:39 -0400
Message-ID: <1423294.1665785979@sss.pgh.pa.us> (raw)
In-Reply-To: <c1976464-86d4-1839-7531-f4eff3cbce64@hot.ee>
References: <86fe1ce7-3d6f-b723-b0fc-0eb796100588@hot.ee>
	<1185464.1665759357@sss.pgh.pa.us>
	<12a74d8c-58ac-f14c-39c7-3730362e08e7@hot.ee>
	<1417737.1665782660@sss.pgh.pa.us>
	<c1976464-86d4-1839-7531-f4eff3cbce64@hot.ee>

Andrus <kobruleht2@hot.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





view thread (9+ messages)

Message-ID: <1423294.1665785979@sss.pgh.pa.us>
Permalink:  ../1423294.1665785979@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1423294.1665785979@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kobruleht2@hot.ee, adrian.klaver@aklaver.com
  Subject: Re: How to return argument data type from sql function
  In-Reply-To: <1423294.1665785979@sss.pgh.pa.us>
  References: <86fe1ce7-3d6f-b723-b0fc-0eb796100588@hot.ee> <1185464.1665759357@sss.pgh.pa.us> <12a74d8c-58ac-f14c-39c7-3730362e08e7@hot.ee> <1417737.1665782660@sss.pgh.pa.us> <c1976464-86d4-1839-7531-f4eff3cbce64@hot.ee> <1423294.1665785979@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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