| От | Bruce Momjian |
|---|---|
| Тема | Re: \c connects as another user instead I want in psql |
| Дата | |
| Msg-id | 200105031516.f43FGPV26098@candle.pha.pa.us обсуждение |
| Ответ на | Re: \c connects as another user instead I want in psql (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu> writes: > >> Is it possible that 1060 and 1092 have the same usesysid in pg_shadow? > > > Hmmm. That was the problem. Thanks! By the way, could you please define a > > unique constraint on column 'usesysid' in future in PostgreSQL? > > Yup, there should be one (and one on usename, too). Not sure why it's > been overlooked so far. TODO item has: * Add unique indexes to pg_shadow.usename and pg_shadow.usesysid I overlooked it long ago because there is no cache lookup on that column. -- Bruce Momjian | http://candle.pha.pa.us pgman@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
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера