Re: Question on triggers and plpgsql

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Question on triggers and plpgsql
Дата
Msg-id BE1E8DAA-A829-11D9-9125-000A95B03262@pgedit.com
обсуждение исходный текст
Ответ на Question on triggers and plpgsql  (Carlos Moreno <moreno@mochima.com>)
Ответы Re: Question on triggers and plpgsql  (Sean Davis <sdavis2@mail.nih.gov>)
Re: Question on triggers and plpgsql  (Carlos Moreno <moreno@mochima.com>)
Список pgsql-sql
On Apr 7, 2005, at 5:45 PM, Carlos Moreno wrote:

> The thing seems to work -- I had to go in a shell as user
> postgres and execute the command:
>
> $ createlang -d dbname plpgsql
>
> (I'm not sure I understand why that is necessary, or
> what implications -- positive or negative -- it may have)

As a security measure, no pl language is available by default. What you 
did is correct. There is not much (any?) risk with pl/pgsql, so you can 
install it in template1 so it will be available in any new database you 
create.

>
> Am I doing the right thing?  Have I introduced some sort
> of catastrophe waiting to happen?

I did not notice any problems.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Dinesh Pandey"
Дата:
Сообщение: Re: Table PARTITION
Следующее
От: "Joel Fradkin"
Дата:
Сообщение: getting count for a specific querry