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 1kOS9G-0007ol-1G for pgsql-general@arkaria.postgresql.org; Fri, 02 Oct 2020 20:59:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kOS9E-0006Z7-Ra for pgsql-general@arkaria.postgresql.org; Fri, 02 Oct 2020 20:59:24 +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 1kOS9E-0006Z0-Jv for pgsql-general@lists.postgresql.org; Fri, 02 Oct 2020 20:59:24 +0000 Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kOS98-000410-8B for pgsql-general@lists.postgresql.org; Fri, 02 Oct 2020 20:59:23 +0000 Received: by mail-ot1-x343.google.com with SMTP id u25so2738118otq.6 for ; Fri, 02 Oct 2020 13:59:18 -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-language:content-transfer-encoding; bh=uQMLxPsh7tM/krCGBDiaNMkosM48GiHvByZpJrky3b0=; b=s/YODH2WUOnDE8I5Prga6tNjdNYEJYPbwNgLzLVsrsoHmoq8wui/MSTX5rTRo6iAW2 u4sh8lp+Quh21p43QF/tu+FTQS2xEKKy4WMxcLauLWIeHWPqurrgCczXYa9NXxNDuwRs aRCQ379ZL+2W0KWy8mxz0ubukn7nv0tDZ2HSjQswCFHoSxKr4Mb/UhU9Z5wbBh1QbsBs SqqxMphjGI58SnEq43VLiKS7cBFhjDXOMgNu4CQxsE8hC46VZ7rD32L5Qss/aNeX+b9O DCCzSPrndT22ShfqplsYq6vp640Xf6FBVmjCCo1SPwh2n4aD0FlkEvlZrDvhqEbjIrxf 8yRw== 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-language :content-transfer-encoding; bh=uQMLxPsh7tM/krCGBDiaNMkosM48GiHvByZpJrky3b0=; b=TGRL9gp4WNpJ6W1KoDjP3JNFLxtu2f1up7dHp+KmqvpIFn7ZL/R08oyj9q2gZAir/2 qyINYw1RRw+tV59iJdvQkNLSFH+R6f1y9Oan1gQGDXD4HWTShE5/2RtaIPRIr84laUYy xyEdomT6RG0iqznkfhGRl40N1tkt2SfCaIGs5sPFX0ZtLTujGhW5ebdvMQctjDRna1Mj tDuwjbQMKG6JMz1zqR82Kv4nJFoqleqzZqSEWnpCBL9jdIp/n78URfrmNvGyAUteSAHU ZeEimRP797WoY93HULzZhs5oCzdHOpHKh1zxwIx4BkRVFHt5txcGPHAs2NTXtQL7jLEb RnFg== X-Gm-Message-State: AOAM531l01RT1f8CHikimylsbEjgvDKTijjV7gxl9pBTE56M+rBOrAWt Ya68Bzo9277oDSFKHFAk7UjzDKUurN17BQ== X-Google-Smtp-Source: ABdhPJzXQE9lzcXx4/K+tu5qtW+pTaUDxdRR5cpNrjvK2Vf45XnWOQl/og0X7pgZGF7poS1tuIFOsg== X-Received: by 2002:a05:6830:1d68:: with SMTP id l8mr3033202oti.123.1601672356258; Fri, 02 Oct 2020 13:59:16 -0700 (PDT) Received: from ?IPv6:2601:681:5500:dde0:514d:c832:2e8a:a2d4? ([2601:681:5500:dde0:514d:c832:2e8a:a2d4]) by smtp.gmail.com with ESMTPSA id 36sm645985otb.30.2020.10.02.13.59.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Oct 2020 13:59:15 -0700 (PDT) Subject: Re: Profile Creation To: pgsql-general@lists.postgresql.org References: From: Rob Sargent Message-ID: <10d428d5-b4d1-0bf6-c7d9-1be7dbffdf5a@gmail.com> Date: Fri, 2 Oct 2020 14:59:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/2/20 2:45 PM, David G. Johnston wrote: > On Fri, Oct 2, 2020 at 1:43 PM Brajendra Pratap Singh > > wrote: > > How can we create a user profile in open postgresql db? > > ? > > CREATE TABLE user_profile (...); > INSERT INTO user_profile VALUES (...); > > David J. > I'm betting on CREATE ROLE rolename WITH option https://www.postgresql.org/docs/13/sql-createrole.html