Thread: This is weird
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.
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, Pennsylvania19026
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.
> 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, Pennsylvania19026