Re: postgres 11 issue?
| От | Steve Rogerson |
|---|---|
| Тема | Re: postgres 11 issue? |
| Дата | |
| Msg-id | 6fd9353d-96f5-7114-13cf-f660a581d985@yewtc.demon.co.uk обсуждение исходный текст |
| Ответ на | Re: postgres 11 issue? (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: postgres 11 issue?
Re: postgres 11 issue? |
| Список | pgsql-general |
> It seems a bug to me. Can you share an anonymized/simplified definition
> of that table that reproduces the problem?
>
Ok See attached sql set up. I guess you need to to a createdb first.
so :
testdb=# \i db.sql
DROP TRIGGER
DROP TABLE
...
testdb=# select * from user_passwords ;
name | timestamp | password
------+-----------+----------
(0 rows)
testdb=# insert into users (name, password) values ('fred', 'sdfsdf');
INSERT 0 1
testdb=# select * from user_passwords ;
name | timestamp | password
------+---------------------------------------------+----------
fred | ("2019-07-03 16:37:07.124207",01:00:00,BST) | sdfsdf
(1 row)
testdb=# \q
steve@work-hp pg_prob$ psql testdb
psql (11.3)
Type "help" for help.
testdb=# select * from user_passwords ;
ERROR: record type has not been registered
Same thing (record type has not been registered/) in a different session that
previously showed user_passwords to be empty in the "normal" way. before the
insert.
It's taken me a while to get this to get it to go wrong and I don't think that
all the complexity is needed, but this at least is consistent.
Steve
Вложения
В списке pgsql-general по дате отправления: