Re: createlang and Schemas

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ian Harding <ianh(at)tpchd(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: createlang and Schemas
Date: 2003-01-27 18:12:52
Message-ID: 200301271812.h0RICqK12582@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Is this a TODO? Not sure.

---------------------------------------------------------------------------

Tom Lane wrote:
> "Ian Harding" <ianh(at)tpchd(dot)org> writes:
> > createlang seems not to take a schema argument. Should it?
>
> Hm. The language itself does not have any associated schema --- but the
> underlying call handler function does. Perhaps there should be a way to
> tell createlang which schema to put the function in. Right now it will
> be effectively determined by the default search path, so you could do
>
> PGOPTIONS='--search_path=myschema' createlang plpgsql mydb
>
> but this seems inelegant.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brian Maguire 2003-01-27 18:17:27 how much memory to allot to postgres?
Previous Message Bruce Momjian 2003-01-27 18:03:37 Re: I was spoiled by the MySQL timestamp field