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 1iLQjw-00015z-AL for pgsql-general@arkaria.postgresql.org; Fri, 18 Oct 2019 11:48:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iLQjv-0001Tg-0V for pgsql-general@arkaria.postgresql.org; Fri, 18 Oct 2019 11:48:15 +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 1iLQju-0001TF-Jo for pgsql-general@lists.postgresql.org; Fri, 18 Oct 2019 11:48:14 +0000 Received: from mail-ot1-x342.google.com ([2607:f8b0:4864:20::342]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iLQjs-0002xA-0Q for pgsql-general@lists.postgresql.org; Fri, 18 Oct 2019 11:48:13 +0000 Received: by mail-ot1-x342.google.com with SMTP id c10so4682013otd.9 for ; Fri, 18 Oct 2019 04:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=QfA6q8HVyk8ayyDmzLu4CwVmr9y6mljrJltrQq8egOA=; b=aXxMd745yH7JcUVrOA2clmduSw+0/rn7O1+x0QO/5m3GO27LAT+CNWNBKFsJ1ODrne X2yz277zF7fmKPaQtJeA/0fWhThNjtS6EKc3BY6UQWxiFNQHLtStSrRu+NYvBj4lDuZR sznR/EstuYG8B480lTd6AlAFHdVIPR1LgctlT+dIVuVzQQKa+M686V8Jjh/CCPHBPYRa j6fhGRZ501lEJfE+WnDATwevCZ0+xYhHzFh5TlqIIy2/qbiZySvAxD18wZsw6kLqVe4q yq+BtzUwfY2tQ7mmB0J6BCHeaUN9Tz05hiSFXmsh4bcg2OAIj/PrpEuhcB1nlmSTSpqT Aj2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=QfA6q8HVyk8ayyDmzLu4CwVmr9y6mljrJltrQq8egOA=; b=Ftu8VcXjCsN2lLTV97VzsUBJudlF/5SrSpofHntaeQBAl+xik3eRaTEkojeU07aOWe oQ2t81ebaiH86AfSthvBFtDexk/Er+wVIxHwaV2D1B2UGp3LKyDOAugOteh3M63gyGlf aip//XwpW+NstoNi5VKqiIzD5WFnw+dydHn43BAOiYVibK/5OriE2yMm5uxgG6RQypRZ fC804u3/O9sG5YWsEDmDGGACTYQulOhja84LDLeTkYq/sk1KR7rwwUbSK4sDNJ8QpiQ/ VEn8YCNZjhasIZ3uEeVNz5vMIeyqy+MxmHFc46hAK6dUFS+RDdn2AKjpJGNIREclmKut kx9Q== X-Gm-Message-State: APjAAAVsuSVgs5rxYg2exG0gqD5D3fwhlDDJbOnVeuPaNZpLHz3erlTn KHNJMKHObZhp5scm2xm5ImczDWZV39jAAQ== X-Google-Smtp-Source: APXvYqwFhYKMeRE7aUU0CqwjBCRw2GxyFMWmTuwGR9sMxfVsrT362Vb9KIXDh5LDafkzOHW0PQyOLg== X-Received: by 2002:a9d:6e0b:: with SMTP id e11mr7751731otr.153.1571399291049; Fri, 18 Oct 2019 04:48:11 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id a69sm1319335oib.14.2019.10.18.04.48.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Oct 2019 04:48:10 -0700 (PDT) Subject: Re: Create role like role To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: <7bceee26-ab83-129d-cadc-8dc14bbdacd5@gmail.com> Date: Fri, 18 Oct 2019 06:48:09 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/18/19 5:08 AM, Sonam Sharma wrote: > I have created one role reader and granted usage on schema and select all > tables role. > > I have created one more user and have > > Grant reader to sonam. > > But still user Sonam is not able to read the tables.. > > Anything I am missing please let me know .. You need to show us the complete commands that you ran. -- Angular momentum makes the world go 'round.