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 1j3gyb-0002wU-Rg for pgsql-admin@arkaria.postgresql.org; Mon, 17 Feb 2020 14:02:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j3gyZ-00055c-J3 for pgsql-admin@arkaria.postgresql.org; Mon, 17 Feb 2020 14:02:19 +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 1j3gyZ-00055V-8w for pgsql-admin@lists.postgresql.org; Mon, 17 Feb 2020 14:02:19 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j3gyW-0007sG-5P for pgsql-admin@lists.postgresql.org; Mon, 17 Feb 2020 14:02:18 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8) with ESMTPS id 01HE28Ld006525 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 17 Feb 2020 16:02:13 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id 01HE28of014279 for ; Mon, 17 Feb 2020 16:02:08 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: How to Import image To: pgsql-admin@lists.postgresql.org References: From: Achilleas Mantzios Message-ID: <674b18f1-ed04-d5b1-565e-c150402fe89d@matrix.gatewaynet.com> Date: Mon, 17 Feb 2020 16:02:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.101.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-29.0 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 17/2/20 8:30 π.μ., Dipanshu singh wrote: > i have a list of students and i want to show the profile picture of students on web with the details.The name and details are showing correctly the only remaining thing is the image.guide me how to > do it. you mean the image is there and you want to show it? or you want to import it? take a look at pg_read_binary_file for the case of bytea -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt