Обсуждение: Packages

Поиск
Список
Период
Сортировка

Packages

От
"Jyoti Seth"
Дата:
<div class="Section1"><p class="MsoNormal">Hi,<p class="MsoNormal"> <p class="MsoNormal">Is there any concept of
Packagein postgresql to group functions ?<p class="MsoNormal"> <p class="MsoNormal">Thanks,<p class="MsoNormal">Jyoti
Seth</div>

Re: Packages

От
"Bart Degryse"
Дата:
As far as I know not like it exists in Oracle.
Alternatively you can use a schema per package, but it doesn't solve eg package variables and constants.
Personally I just let my functionnames start with the "package name",
so I have general_log(...), general_log_err(...), replicate_exact(...), replicate_faulty(...), replicate_invoice(...), ...
I have replaced my package constants by writing a const(...) function.
I avoice package variables and if I do need them, I put them in a table.

>>> "Jyoti Seth" <jyotiseth2001@gmail.com> 2008-02-15 12:46 >>>

Hi,

 

Is there any concept of Package in postgresql to group functions ?

 

Thanks,

Jyoti Seth