Re: Name spacing functions and stored procedures

From: Steven Erickson <Steven(dot)Erickson(at)telventdtn(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tim Uckun <timuckun(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Name spacing functions and stored procedures
Date: 2015-03-19 12:31:25
Message-ID: 73A89A6A88301E40A10F770F0F54FCCCE51321@CORPEXPROD02.dtn.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I’ve always used schemas – usually one for each of the business processes.

From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Pavel Stehule
Sent: Thursday, March 19, 2015 12:38 AM
To: Tim Uckun
Cc: pgsql-general
Subject: Re: [GENERAL] Name spacing functions and stored procedures

Hi

2015-03-19 2:56 GMT+01:00 Tim Uckun <timuckun(at)gmail(dot)com<mailto:timuckun(at)gmail(dot)com>>:
What do you guys do to namespace your functions so that they are not jumbled in with the system functions and also somewhat hierarchically organized.
Obviously it's possible to create schemas for different namespaces but that can lead to a lot of schemas which hold no data. The other way is to simply name your functions like _lib_etl_csv_import_weird_data_format but that's not too much fun either.

What is problem with schemas? It is tool for logical database structuring - for tables, for functions.
I use schemas without any problems.

Just curious how other people deal with the issue.

NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jaime soler 2015-03-19 12:39:42 Re: Installation Size showing huge size in postgres installed on windows os
Previous Message jaime soler gómez 2015-03-19 12:11:29 Re: Installation Size showing huge size in postgres installed on windows os