Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qEIO1-00041K-Dz for pgsql-general@arkaria.postgresql.org; Tue, 27 Jun 2023 23:46:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qEINz-00006D-Gp for pgsql-general@arkaria.postgresql.org; Tue, 27 Jun 2023 23:46:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qEINz-00005a-5h for pgsql-general@lists.postgresql.org; Tue, 27 Jun 2023 23:46:15 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qEINs-000orb-7W for pgsql-general@lists.postgresql.org; Tue, 27 Jun 2023 23:46:13 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 216BE32008FD; Tue, 27 Jun 2023 19:46:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 27 Jun 2023 19:46:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1687909565; x=1687995965; bh=Z7+ZR3z7IvlHIy9lTu/bUdPKOE1w3CMTjii ClccbX5U=; b=AU/115ToO1h2Y+XF8PjqycxnslMxZsfrltbs9c3TFYCc3rj9vdY dnHH1Jw1TZhrsWym+47n4oULtPUIp4w6LXX2cRjSjSTvvNMCuYquvwq+VF/XFdJH K4tiP4VEYLgEjxMBvFx3FXfZli7rhtjdRs/ANla5byiumVz1nwl1jWFFTdHnf4lu dNKbMluF8NTRwJaw9vTE6lLibRA4aFp4W3LNGM3iyzYVGQ4EdKOvOoc6BU8n40v/ xaIVdbT9OFasZIc86tVHHo1cuu2mUg6s0Q7puH/M96SFMApjBiAA92k5GD0s5o/E /pl7OFM+z8kjgVUkG7j8O7OLTxkMzT9ORyQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1687909565; x= 1687995965; bh=Z7+ZR3z7IvlHIy9lTu/bUdPKOE1w3CMTjiiClccbX5U=; b=O 8gm5zbm++sg4Cp3+GYKYqwa9oTu80QPj8c98QtGe1QD4XvenD742II810XyTtFdz giWH8hAtTD1naSOXfNG0ibJxQW12gGMKwY6ODIH2uo/LAumv7+l8IlYy+7EUJWTg Gzu5RLe6fh9Sw5IAbkohjhRHisD8bex9vaiSNgB82SF5FmTyXQVjeAzbDG8/shxG BzXtoQLE+bDB1xDgZjxQeWaKk6REvzv2QPkKhcDekEjA9dNADGjh8yFqUMBoVcpW Wjhtt30907hX5PxLRmFcAu9mrjQkKZCSHMH1utFWleZdplQP8Q1MXbl75y/bKFpm ONkE/ROyA1GdsAKotO+Bw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrtddugddviecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuhffvfhgjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepteelffehffetjeeltdduhfduleefjeffueejuddugffh gfdtheekkeeftdetkeeunecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgr nhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 27 Jun 2023 19:46:05 -0400 (EDT) Message-ID: Date: Tue, 27 Jun 2023 16:46:04 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: connect postgres using url Content-Language: en-US From: Adrian Klaver To: Atul Kumar , pgsql-general References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/27/23 16:30, Adrian Klaver wrote: > On 6/27/23 16:14, Atul Kumar wrote: >> HI, >> >> Could you please help me in telling how I can connect my postgres >> database using http url ? > > Are you actually talking about a Web based URL or a URI as in?: > > https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING > > If you are talking about a URL then that would be to some Web service > that is in the background connecting to the database. How that is done > is going to depend on the Web service. Realized that this was not good explanation, especially as a URL is specialized case of an URI. What I should have been asking is do you want a connection a URI that connects directly to the database or a URI in the form of a URL that points at Web resource that in turn, in the background, connects to the database? > >> >> What steps need to be taken care of ? >> >> Please share any referral link, if possible. >> >> >> >> Regards, >> Atul > -- Adrian Klaver adrian.klaver@aklaver.com