This is weird

Started by J.M.over 26 years ago4 messages
#1J.M.
darcy@druid.net

It doesn't seem to hurt anything but when I list sequences with \ds I
get a strange behaviour. If I created the sequence as an ordinary
user everything seems normal. If I create the sequence as a super
user (myself) it lists the sequence name twice. As I said, it doesn't
seem to hurt anything. I'll try to look into it next week if I can
get some time and no one else has figured it out.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.
#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: J.M. (#1)
Re: [HACKERS] This is weird

I think your pg_shadow table has two superusers in it.

It doesn't seem to hurt anything but when I list sequences with \ds I
get a strange behaviour. If I created the sequence as an ordinary
user everything seems normal. If I create the sequence as a super
user (myself) it lists the sequence name twice. As I said, it doesn't
seem to hurt anything. I'll try to look into it next week if I can
get some time and no one else has figured it out.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.
-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#3J.M.
darcy@druid.net
In reply to: Bruce Momjian (#2)
Re: [HACKERS] This is weird

Thus spake Bruce Momjian

I think your pg_shadow table has two superusers in it.

It doesn't seem to hurt anything but when I list sequences with \ds I
get a strange behaviour. If I created the sequence as an ordinary
user everything seems normal. If I create the sequence as a super
user (myself) it lists the sequence name twice. As I said, it doesn't
seem to hurt anything. I'll try to look into it next week if I can
get some time and no one else has figured it out.

Give that man a seegar. Now how in hell did I get in there twice with
the same name and same ID? Doesn't createuser check that?

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.
#4Bruce Momjian
maillist@candle.pha.pa.us
In reply to: J.M. (#3)
Re: [HACKERS] This is weird

Thus spake Bruce Momjian

I think your pg_shadow table has two superusers in it.

It doesn't seem to hurt anything but when I list sequences with \ds I
get a strange behaviour. If I created the sequence as an ordinary
user everything seems normal. If I create the sequence as a super
user (myself) it lists the sequence name twice. As I said, it doesn't
seem to hurt anything. I'll try to look into it next week if I can
get some time and no one else has figured it out.

Give that man a seegar. Now how in hell did I get in there twice with
the same name and same ID? Doesn't createuser check that?

My guess is pg_dumpall did it somehow, perhaps a failed load. Do I get
another cigar?

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026