From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | <win(at)email(dot)com(dot)ph>, <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: Bug #482: psql (7.1.3) doesn't like sysid=0 |
Date: | 2001-10-16 20:14:36 |
Message-ID: | Pine.LNX.4.30.0110162033270.627-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
> Sherwin Daganato (win(at)email(dot)com(dot)ph) reports a bug with a severity of 3
> I have migrated a production database from 7.0.3
> to 7.1.3 successfully. Then I was trying to load this
> database (7.1.3) to a development machine with
> another 7.1.3 when I encounter the error. It is not
> clear in the docs that sysid should be positive and
> the error message is a little bit confusing.
peter=# select version();
version
-------------------------------------------------------------
PostgreSQL 7.0.2 on i686-pc-linux-gnu, compiled by gcc 2.96
(1 row)
peter=# create user someuser with sysid 0;
ERROR: sysid must be positive
> Why not print "sysid must be greater than zero"?
Isn't that the same thing?
> Why is it that zero sysid is allowed in 7.0.3 and not in
> 7.1.3?
> .
It was never really allowed, although it's possible that older version
weren't so careful in checking. However, I'm fairly sure that the
relevant CREATE USER code was the same in 7.0.* and 7.1.*.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-10-16 23:41:48 | Re: psql core dump |
Previous Message | Peter Eisentraut | 2001-10-16 20:13:43 | Re: ecpg - GRANT bug |