pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dek.mauleon@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8295: crypt() function fails randomly
Date: Thu, 11 Jul 2013 18:08:07 +0000
Message-ID: <E1UxLHj-0005Q4-Dj@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



Message-ID: <E1UxLHj-0005Q4-Dj@wrigleys.postgresql.org>
Permalink:  ../E1UxLHj-0005Q4-Dj@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1UxLHj-0005Q4-Dj@wrigleys.postgresql.org

 · 

reply

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-bugs@postgresql.org
  Cc: dek.mauleon@gmail.com
  Subject: Re: BUG #8295: crypt() function fails randomly
  In-Reply-To: <E1UxLHj-0005Q4-Dj@wrigleys.postgresql.org>
  References: <E1UxLHj-0005Q4-Dj@wrigleys.postgresql.org>

* 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