From: Peter Eisentraut <peter_e@gmx.net>
To: Gordon Clarke <gordonc@adf-serials.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Upgrading PostgreSQL to 7.1.3
Date: Tue, 2 Apr 2002 20:41:11 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0204022037400.686-100000@peter.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.21.0204022025110.24790-100000@localhost.localdomain>
Gordon Clarke writes:
> At our community radio station we just upgraded from v7.0.2 to 7.1.3 and
> quite a few things have changed which has caused the following questions.
>
> 1. When one does a \d on a table the type description for a varchar field
> has changed from
> varchar(40)
> to
> character varying(40)
> which is most annoying as it forces lines to wrap because of long text in
> the modifier section.
>
> Can this be set back to the former? If so how is it done?
Not without editing the source code.
> 2. Previously when issuing a \z command it listed in the 'access
> permission' just the public and group permissions, eg.
> annoucr | {"=r","group admin=arwR","group music_coord=r"}
>
> Now it includes the owner name as well as all its permissions eg.
> annoucr | {"=r","zedadmin=arwR","group admin=arwR","group
> music_coord=r"}
If the owner has some permissions they need to be stored somewhere. This
was actually part of a bug fix -- in the 7.0 case the owner actually
didn't have any permissions -- so it won't change.
> 3. Previously the permissions on a sequence were just read-only to PUBLIC
> (ie. {"=r"}) which allowed any of our applications to access the sequence
> if it needed to. Now it appears that the permissions are to be allocated
> to the group accessing the application and that it must be read-write.
The reason that you need write access is that if you call nextval you
actually write to the sequence. If you call currval you don't need write
access.
--
Peter Eisentraut peter_e@gmx.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, gordonc@adf-serials.com
Subject: Re: Upgrading PostgreSQL to 7.1.3
In-Reply-To: <Pine.LNX.4.30.0204022037400.686-100000@peter.localdomain>
References: <Pine.LNX.4.21.0204022025110.24790-100000@localhost.localdomain> <Pine.LNX.4.30.0204022037400.686-100000@peter.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox