Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ejteY-0005jF-NX for pgsql-general@arkaria.postgresql.org; Thu, 08 Feb 2018 21:22:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejteX-0001AO-B2 for pgsql-general@arkaria.postgresql.org; Thu, 08 Feb 2018 21:22:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ejteW-0001AF-T8 for pgsql-general@lists.postgresql.org; Thu, 08 Feb 2018 21:22:45 +0000 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ejteU-0001Ov-Fs for pgsql-general@lists.postgresql.org; Thu, 08 Feb 2018 21:22:43 +0000 Received: by mail-qt0-x241.google.com with SMTP id s39so8072467qth.7 for ; Thu, 08 Feb 2018 13:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:in-reply-to:message-id:references:user-agent :mime-version; bh=ZS1glePrqHF7sM/HmsFjX0k98TOfZytU5wM2QeRgbFA=; b=tE69InvtyFlReBtQk6OWH77SR+v8B8Xhn8tNV2Efd31ZRUwv41OxYf+7r7ry1ffqdx JqnOL5hLbN/VBw9oW90R+ZEhxewp3XZ15RTR9X/lTqwsy8blhE7nnlQKGrc7JnOMLchh noXg/nUNaZRLtb00bUB6GIdPhwRoMcyob8+n67y6dx6l2pAndXElRLDnGWzPL7a/42A1 js3O/Hcmibf7CWWyglPC4AeiQBVLTWT7KPmtiEx+JyXudUZW/0xjWQtBgHIkgFnzAgE/ apc1nY7hqFBT1FMUsMO0xUKufpS8lxn3hSlG7HlgxzNQYvWELG/lCt1Ys8r4w0ghKObu PawQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=ZS1glePrqHF7sM/HmsFjX0k98TOfZytU5wM2QeRgbFA=; b=ePskv7mPGYPTApSgEXTjEkPnDyba6B/MFcSakd3R9HPWmdL7M7zE7dnXNxZM7zpxwr qoYtKoByisrWc5Z6kl/QE4vPXVC1NUeQdNxhomr6cktqQbswvbwg7anBlUa92VCGKVAF A86cwT50L11d562ctiwP09egnJ5MaYEClH8PfIZD12fd69q7vUi9xXx/VTSxYYovGc4I u8csGjCgD1HPM7+31nVpJ3uhFjKN98HWuw+Czxz2OV/tTIj2ZLgn7FG99VWNeV3oHsAz Y4taxEUYcC3K4OJuXzmdkA7tbV+K+SYdvJAni5oejPziyO1P0tr5K6FDeJS83AY59XU0 iHSA== X-Gm-Message-State: APf1xPADK2bmQVE1KNqEIZvwlXcSOjOJXQky4KeScM0myzmyvUKDjSJa ZuhsQ9aubNHj9O79ClVu2+5SSQ== X-Google-Smtp-Source: AH8x227c7VUCSc5SkO5+LoxwkhzqsAcS5FWeHgLqcZtdr9H9ks+Njtgc1cNk+QkrdMuLllxqzQyKow== X-Received: by 10.200.6.5 with SMTP id d5mr964468qth.134.1518124960960; Thu, 08 Feb 2018 13:22:40 -0800 (PST) Received: from [192.168.245.27] ([65.183.149.206]) by smtp.gmail.com with ESMTPSA id k20sm591361qtj.72.2018.02.08.13.22.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 13:22:40 -0800 (PST) Date: Thu, 8 Feb 2018 16:22:39 -0500 (EST) From: Steven Hirsch X-X-Sender: hirsch@z87 To: "pgsql-generallists.postgresql.org" Subject: Re: Odd behavior with 'currval' In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-2053789858-1518124959=:5809" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-2053789858-1518124959=:5809 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 8 Feb 2018, David G. Johnston wrote: > On Thu, Feb 8, 2018 at 12:54 PM, David G. Johnston wrote: >  The only 'currval' procedure is the one defined at installation (in public). > > > ​So, the installed version of currval would be defined in "pg_catalog", not "public" ... ?? All I can tell you is that when I connect from dbVisualizer and open the twisty under 'main.procedures' I see 100+ functions that are intrinsic to pgsql - currval() included. I have almost no experience writing pgsql procs and absolutely never installed anything that would override the base function. -- --8323329-2053789858-1518124959=:5809--