Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 8E48F10D80A1 for ; Thu, 17 Nov 2011 16:23:35 -0400 (AST) Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RR8Uf-0002Tf-HO for pgsql-bugs@postgresql.org; Thu, 17 Nov 2011 20:23:35 +0000 Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id pAHKNF904398 for ; Thu, 17 Nov 2011 12:23:15 -0800 Message-ID: <4EC56D33.9040009@hogranch.com> Date: Thu, 17 Nov 2011 12:23:15 -0800 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: CREATE ROLE jdbc vs pgadmin References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Archive-Number: 201111/126 X-Sequence-Number: 31721 On 11/17/11 11:56 AM, Fl=C3=A1vio Alves Granato wrote: > > I have a problem with the query 'CREATE ROLE' being executed via jdbc=20 > and via pgadmin. When I run it via pgadmin: > > CREATE ROLE flavio LOGIN > ENCRYPTED PASSWORD 'cd6a0065e497a3c20b3c639df7d56b0d' > NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION; > > and via jdbc: > > CREATE ROLE flavio LOGIN > ENCRYPTED PASSWORD 'md5bf5a1a18f98fd6debde92560c933d2d9' > NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION; > > I did update to the newest jdbc: > > CREATE ROLE flavio LOGIN > ENCRYPTED PASSWORD 'md50eb617ecacedd0cfae723bbe53c75918' > NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION; > > It would be a bug in jdbc? I am using PostgreSQL 9.1 and linux. what is the problem? --=20 john r pierce N 37, W 122 santa cruz ca mid-left coast