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 1i7K8w-0001cX-Ii for pgsql-general@arkaria.postgresql.org; Mon, 09 Sep 2019 13:55:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i7K8v-00060X-Dw for pgsql-general@arkaria.postgresql.org; Mon, 09 Sep 2019 13:55:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7K8v-00060Q-3l for pgsql-general@lists.postgresql.org; Mon, 09 Sep 2019 13:55:45 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7K8o-0007J0-Uy for pgsql-general@lists.postgresql.org; Mon, 09 Sep 2019 13:55:44 +0000 Received: by mail-io1-xd33.google.com with SMTP id m11so28880412ioo.0 for ; Mon, 09 Sep 2019 06:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Xxlv5wmrmqFVPqypXGfX4kycj85jbm1tQnFhbzoLvOs=; b=AaGzrA6XrHWaNMnxzseyK7roUwFSlIC/qmtqJoMWNDtoJN0Pu5pNaQ8HRLRLEZz/eC YhNnTJUTxfKCKON1/0qCkFpWvM4B8q7k4p2hW6lztfN16CtpxqpUv8xjk7S4rFX1zbp/ 21Ij3lQBxj9oDa0pIa+/DNjW+2jcZKy1RLWvKuk5m07w+99OJSt0rxJAH9K+kNcAndKW B8lhm2OHuFFJJWrwgYGaJtY13fQAG2FfSTfXqRfWH8y0kqKIUexy11AbVb2TeCSw913I afcGQkWH9O/iA0jsaIiLKpMAVvKvdEivw9LS5bN34C6n6ATMV0nEWZVBZ2gmlOpGGdV4 +Rag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Xxlv5wmrmqFVPqypXGfX4kycj85jbm1tQnFhbzoLvOs=; b=RtANRu+MdflAx4SvE5vHtUzDeAIAgOragO23Fkwz/VX9mtjP/1I4kt8F6EJ/boPDCp Rpl9ouYqm/ubPfzwO6opPLkO1ITvyrlfkLFtNmg08Aifo9QQSTnhfYwSSJuthzkOwvgP kCjtaz5CwPMm3iQXeKyGgG0/othDq5dGWcTZLYZ8HT2OTppriOeZSOJaai4uEt5XzDKl isOcBKrrCsNILAjEVnZf+vYX9vku+YZ0b5WmoXNCsJv0kpI1UBdpI58ENcPavil8nNT9 be8sSImffu8QlPjXLnk0KS++XrcLhrF1DgYcA/WqJWc4uVYMTeTsdqjqa/TFMJFWDteJ ypgA== X-Gm-Message-State: APjAAAVaQsO6hczsNeYl8wCSQUyRopT51mYCrJHOh/jHMrELLM3+SGHS LNwnWy3P18e4mZWJJPQ3QgAkDDkfegb0sA== X-Google-Smtp-Source: APXvYqy54V/yr0EN18V2UIzaTRp9E40X9pop0Njsa7GYd8MapX+Ta+LOgkkRL8tzvCDq1PzENtfzQA== X-Received: by 2002:a02:c6b9:: with SMTP id o25mr11993105jan.64.1568035711444; Mon, 09 Sep 2019 06:28:31 -0700 (PDT) Received: from [192.168.1.147] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id k66sm31490484iof.25.2019.09.09.06.28.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Sep 2019 06:28:30 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-1277B0D7-4333-4680-ACF9-01EB583286B3 Mime-Version: 1.0 (1.0) Subject: Re: database "cdf_100_1313" does not exist From: Rob Sargent X-Mailer: iPhone Mail (16G77) In-Reply-To: Date: Mon, 9 Sep 2019 07:28:29 -0600 Cc: Dan Livingston , Karsten Hilbert , pgsql-general@lists.postgresql.org Content-Transfer-Encoding: 7bit Message-Id: <45AD213B-B975-4A43-9C02-3C1513CF23F5@gmail.com> References: <20190909115454.GC2813@hermes.hilbert.loc> To: nikhil raj List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail-1277B0D7-4333-4680-ACF9-01EB583286B3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Sep 9, 2019, at 7:16 AM, nikhil raj wrote: >=20 > Hi Dan, >=20 > Still facing the same issue. >=20 > /usr/lib/postgresql/11/bin/psql -p 5432 -U postgres -d $DBLIST -c "GRANT C= ONNECT ON DATABASE $DBLIST TO cpupdate" > ERROR: database "cdf_100_1313" does not exist >=20 >>>>=20 Can we see the output of psql=E2=80=99s \l ?= --Apple-Mail-1277B0D7-4333-4680-ACF9-01EB583286B3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On Sep 9, 2019, at 7:16 AM, nikhil raj <nikhilraj474@gmail.com> wrote:
Hi Dan,

Still facing the same issue.
/usr/lib/postgresql/11/bin/psql -p 5432 -U postgres -d $DBLIST -= c "GRANT CONNECT ON DATABASE $DBLIST TO cpupdate"
ERROR:  database "= cdf_100_1313" does not exist


Can we see the output of psql=E2=80=99s \l ?= --Apple-Mail-1277B0D7-4333-4680-ACF9-01EB583286B3--