Re: [GENERAL] Making small bits of code available

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] Making small bits of code available
Date: 2002-09-07 19:27:09
Message-ID: 200209071927.g87JR9J05701@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Bruno Wolff III wrote:
> On Sat, Sep 07, 2002 at 12:52:06 -0400,
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
> >
> > > Should the creation of these functions be added to the existing script
> > > for earth_distance or should it be a separate script? It seems unlikely
> > > that someone would be using both of these at the same time, since one
> > > is based on the point type and the other on the cube type. However the
> > > overhead of installing both seems small, so maybe making it easier to
> > > try both and then pick one is worthwhile.
> >
> >
> > Install them both. Just make sure it is clear which is which, or are
> > yours superior and the old one should be removed?
>
> They are different and someone could want either.

[ CC changed to hackers.]

>
> I forgot to ask about how to handle the dependency on contrib/cube.

>
> I can see three options. Automatically install contrib/cube when building
> contrib/earthdistance, refuse to work unless contrib cube appears to be
> installed, or only install the original stuff if contribe/cube is not
> available. Trying to do different installs based on whether or not

Auto-install cube. I think this is done by psql making/installing libpq
because it depends on that.

> > Not sure. I don't think we want to public permit this stuff unless the
> > admin asks for it.
>
> I will put in some comments about needing to make functions public for normal
> user access.

OK.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2002-09-07 19:32:40 Re: Making small bits of code available
Previous Message Stephan Szabo 2002-09-07 17:26:11 Re: Fwd: "...integer[] references..." = error

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2002-09-07 19:30:05 Re: current_schemas()
Previous Message Joe Conway 2002-09-07 19:12:36 Re: [JDBC] problem with new autocommit config parameter