From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Steve Rogerson <steve.pg@yewtc.demon.co.uk>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: postgres 11 issue?
Date: Thu, 6 Jun 2019 06:35:09 -0700
Message-ID: <676fc03d-9cf6-1eb6-4dce-9e85c8b22840@aklaver.com> (raw)
In-Reply-To: <cbaecae6-7b87-584e-45f6-4d047b92ca2a@yewtc.demon.co.uk>
References: <cbaecae6-7b87-584e-45f6-4d047b92ca2a@yewtc.demon.co.uk>
On 6/6/19 4:02 AM, Steve Rogerson wrote:
> I've just updated my laptop to pg11 and I'm getting a problem. I'm trying to
> keeps the details confidential, so somewhat vague I'm afraid.
>
> sjr_local1db=> select count(*) from user_passwords ;
> ERROR: record type has not been registered
>
> sjr_local1db=> insert into user_passwords (name, "timestamp", password) values
> ('user1', my_timestamp_now(), 'dsfsdfsdf');
> INSERT 0 1
>
> sjr_local1db=> select count(*) from user_passwords ;
>
> count
> -------
> 27
> (1 row)
>
> The timestamp column is a "row" consisting of a timestamp and the timezone
> (essentially), the my_timestamp_now is function that returns a "timestamp"
> for now.
>
> This all works fine for pg >= 9 and pg <11.
More information is needed:
1) Table definition
2) Exactly how "timestamp" is defined.
3) my_timestamp_now definition.
>
>
> Steve
>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, steve.pg@yewtc.demon.co.uk
Subject: Re: postgres 11 issue?
In-Reply-To: <676fc03d-9cf6-1eb6-4dce-9e85c8b22840@aklaver.com>
References: <cbaecae6-7b87-584e-45f6-4d047b92ca2a@yewtc.demon.co.uk> <676fc03d-9cf6-1eb6-4dce-9e85c8b22840@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox