dbTalk Databases Forums  

[BUGS] Bug in pgAdminIII or in pg 8 beta3 ?

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Bug in pgAdminIII or in pg 8 beta3 ? in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Luiz K. Matsumura
 
Posts: n/a

Default [BUGS] Bug in pgAdminIII or in pg 8 beta3 ? - 11-04-2004 , 07:09 AM






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.

but if I create a database from template0 this objects are not visibles

My installation is with problem or this is a bug ?

Thanks in advance


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply With Quote
  #2  
Old   
Oliver Elphick
 
Posts: n/a

Default Re: [BUGS] Bug in pgAdminIII or in pg 8 beta3 ? - 11-04-2004 , 08:04 AM






On Thu, 2004-11-04 at 13:06, Luiz K. Matsumura wrote:
Quote:
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.

Quote:
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.

If you don't want them in new databases, delete them from template1.

Oliver Elphick



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
  #3  
Old   
Simon Riggs
 
Posts: n/a

Default Re: [BUGS] Bug in pgAdminIII or in pg 8 beta3 ? - 11-04-2004 , 03:40 PM



On Thu, 2004-11-04 at 13:49, Oliver Elphick wrote:
Quote:
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


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
  #4  
Old   
Magnus Hagander
 
Posts: n/a

Default Re: [BUGS] Bug in pgAdminIII or in pg 8 beta3 ? - 11-04-2004 , 03:52 PM



Quote:
No bug; these objects exist in the template1 database -=20
someone created
them there - so they get copied into every new database. This is a
_feature_. It lets you ensure that every new database=20
contains certain
objects.
=20

I believe tsearch2 is part of the install in Magnus' .mxi Windows
Installer version.
It is indeed installed. The activation of the module in 'template1' is
optional and *not* enabled by default, though. But there is a checkbox
for it...

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.