Re: Bug in pgAdminIII or in pg 8 beta3 ?

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: olly(at)lfix(dot)co(dot)uk
Cc: "Luiz K(dot) Matsumura" <luiz(at)planit(dot)com(dot)br>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug in pgAdminIII or in pg 8 beta3 ?
Date: 2004-11-04 21:22:55
Message-ID: 1099603375.5682.39.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Thu, 2004-11-04 at 13:49, Oliver Elphick wrote:
> On Thu, 2004-11-04 at 13:06, Luiz K. Matsumura wrote:
> > Hi
> >
> > I think that is can be a bug... When I create a new database in pg8
> > beta3 (win32) like this
> >
> > CREATE DATABASE test
> > WITH OWNER = admin
> > ENCODING = 'UNICODE';
> >
> > System objects became visible in public schema :
> > tables like pg_ts_cfg , pg_ts_cfgmap, pg_ts_dict ...
> > functions , operators etc.
>
> I don't think those are system objects, unless they are specific to the
> Win32 version. I believe they are created when you use tsearch2 in a
> database. You must have done that some time in template1.
>
> > but if I create a database from template0 this objects are not visibles
> >
> > My installation is with problem or this is a bug ?
>
> No bug; these objects exist in the template1 database - someone created
> them there - so they get copied into every new database. This is a
> _feature_. It lets you ensure that every new database contains certain
> objects.
>

I believe tsearch2 is part of the install in Magnus' .mxi Windows
Installer version.

As Olly says, not a bug.

--
Best Regards, Simon Riggs

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Josh Berkus 2004-11-04 21:23:15 Re: could not find /usr/local/timezone
Previous Message Jaime Casanova 2004-11-04 20:36:50 Re: a bug in plpgsql

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-11-04 21:24:49 Re: [HACKERS] CVS should die
Previous Message Joerg Hessdoerfer 2004-11-04 21:20:11 Re: CVS should die (was: Possible make_oidjoins_check ...)