Re: Newbie questions, diff between functions and procedures; & why cube functions?

From: "Raymond O'Donnell" <rod(at)iol(dot)ie>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: Newbie questions, diff between functions and procedures; & why cube functions?
Date: 2006-11-23 20:22:47
Message-ID: 45660317.9164.C8E89@rod.iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 22 Nov 2006 at 17:21, novnov wrote:

> Not sure this is a pgAdmin question either but why does pg seem to
> create a mass of cube and g_cube functions for each new db? They sure
> clutter up the place, but maybe they are needed by postgres?

It soundsas if one of the contrib modules may be loaded by default -
new DBs are created by copying the template1 database, so anything
that's in template1 is included in new databases also.

There is a procedure, if you don't want this or if you load a heap of
stuff into template1 by accident, for zapping template1 and re-
creating it in turn from template0 - it's detailed at
http://www.postgresql.org/docs/techdocs.22

--Ray.

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

Raymond O'Donnell
Director of Music, Galway Cathedral, Galway, Ireland
rod(at)iol(dot)ie
----------------------------------------------------------------------

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Christian Eva 2006-11-24 04:32:27 Re: Re: [pgadmin-support] Compile Error with 1.6+ on SuSE 10.0/10.1 : xmlerror.h:820: error: typedef ‘xmlGenericErrorFunc’ is initialized (use __typeof__ instead)
Previous Message Dave Page 2006-11-23 19:44:20 Re: Report stylesheet bug