Re: createlang and Schemas - Mailing list pgsql-general

From Bruce Momjian
Subject Re: createlang and Schemas
Date
Msg-id 200301271812.h0RICqK12582@candle.pha.pa.us
Whole thread Raw
In response to Re: createlang and Schemas  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Is this a TODO?  Not sure.

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

Tom Lane wrote:
> "Ian Harding" <ianh@tpchd.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: I was spoiled by the MySQL timestamp field
Next
From: "Brian Maguire"
Date:
Subject: how much memory to allot to postgres?