Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYsY2-0000tN-Du for pgsql-general@arkaria.postgresql.org; Thu, 06 Jun 2019 13:35:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hYsY1-00016l-AX for pgsql-general@arkaria.postgresql.org; Thu, 06 Jun 2019 13:35:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYsY0-00016e-2H for pgsql-general@lists.postgresql.org; Thu, 06 Jun 2019 13:35:17 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYsXx-0003Zv-1w for pgsql-general@postgresql.org; Thu, 06 Jun 2019 13:35:14 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2D92B21D25; Thu, 6 Jun 2019 09:35:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 06 Jun 2019 09:35:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=I UAQvE17NM6KgRRO+upkbW+oOwlII4Pd7EBg9d3gFjg=; b=BHOPnX3+C5ACQBLQq zRazEdKTPAMc8EhrxFsajilo28AaHVoOirjT3R2qHl2FRs5G7iuUhQf6kAsgTgh8 VeW7/HP0D/N8xPaPUp9qggY7BseIOcQ/Km+fSUfBF/9tBJmEbcWHALjKz5+5FGRW yq8tm2xLLLfsmG1+gP43gMkY9z5yLNb0EuW4An4MAWWjV4uqstXCr6ScyhEBYtTT /1PpzS09ER2R1+c7cP7PUAhy1kqNahigDxLsV9z32xOI/gQcqfqR0e6dwImzajf+ X1OL3ViUJzTftbk6IrlkiSUJn53Yua33Budrs2iZG+UzkjbrBxs+JB2wNj9A2zaD XR7Tw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=IUAQvE17NM6KgRRO+upkbW+oOwlII4Pd7EBg9d3gF jg=; b=Q95JpdY0kvCRi3jwenQiRE9vQT8MWaE1KxoK6RwkD+p7yDiax3KabfM01 GeoxBMMZnYfl/c619lTpld6kcbMS7CGI6fFPgcRKVUjcDktjbX3shqyplc3reYFj PHU+fG4BARnLhcq6XkvaultAqXOmbll0xBRG29J22raP5GyBVVeBniqhie0PuVeQ +Ia5jgzdiDbVdUF/akOTPqo3eQAeNfK7P1K+YzEDkHxzCugfvBu5WbC/D+R+BXJg ZmqLlh7dn6X3BNLgD4l9af2pn7lGSM9CFu4/Vk7W66IikDAHbKenvR0S2K4mJvbD L1QSuairarxrzRhTg0y8u8dJPfP1g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeggedgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppeejuddrvdduvddrudehtddrvd dtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id DACE380059; Thu, 6 Jun 2019 09:35:10 -0400 (EDT) Subject: Re: postgres 11 issue? To: Steve Rogerson , "pgsql-general@postgresql.org" References: From: Adrian Klaver Message-ID: <676fc03d-9cf6-1eb6-4dce-9e85c8b22840@aklaver.com> Date: Thu, 6 Jun 2019 06:35:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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