Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UxLHy-0007vq-CV for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Jul 2013 18:08:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UxLHx-00011s-QX for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Jul 2013 18:08:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UxLHx-00011m-8q for pgsql-bugs@postgresql.org; Thu, 11 Jul 2013 18:08:21 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UxLHq-0006tr-4B for pgsql-bugs@postgresql.org; Thu, 11 Jul 2013 18:08:21 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UxLHo-0005LA-U5 for pgsql-bugs@postgresql.org; Thu, 11 Jul 2013 18:08:13 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1UxLHj-0005Q4-Dj for pgsql-bugs@postgresql.org; Thu, 11 Jul 2013 18:08:07 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8295: crypt() function fails randomly To: pgsql-bugs@postgresql.org From: dek.mauleon@gmail.com Message-Id: Date: Thu, 11 Jul 2013 18:08:07 +0000 X-Pg-Spam-Score: -1.3 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8295 Logged by: Dek Email address: dek.mauleon@gmail.com PostgreSQL version: 9.2.4 Operating system: windows server 2008 R2 standard SP1 64 bit Description: crypt function fails with does not exist. This happens randomly and trying the same command again works. Verbose Error log: 2013-07-11 12:33:42 CDT LOCATION: pq_recvbuf, src\backend\libpq\pqcomm.c:839 2013-07-11 12:35:14 CDT ERROR: 42888: function crypt(character varying, character varying) does not exist at character 80 2013-07-11 12:35:14 CDT HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2013-07-11 12:35:14 CDT LOCATION: ParseFuncOrColumn, src\backend\parser\parse_func.c:304 2013-07-11 12:35:14 CDT STATEMENT: select count(*) ct from root.sysuser where user_id = 115 and (user_login_pwd = crypt('testpass'::character varying, user_login_pwd)) = true Running the same command again works: brazil=# select count(*) ct from root.sysuser where user_id = 115 and (user_login_pwd = crypt('testpass'::character varying, user_login_pwd)) = true; ct ---- 0 (1 row) extension pgcrypto is installed via create extension pgcrypto. Thanks. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs