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 1gldLZ-0006kZ-Hs for pgsql-general@arkaria.postgresql.org; Mon, 21 Jan 2019 17:26:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gldLY-0001bW-CG for pgsql-general@arkaria.postgresql.org; Mon, 21 Jan 2019 17:26:52 +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 1gldLX-0001bP-WB for pgsql-general@lists.postgresql.org; Mon, 21 Jan 2019 17:26:52 +0000 Received: from mail-eopbgr720112.outbound.protection.outlook.com ([40.107.72.112] helo=NAM05-CO1-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gldLU-0006iL-OB for pgsql-general@lists.postgresql.org; Mon, 21 Jan 2019 17:26:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=PennStateOffice365.onmicrosoft.com; s=selector1-psu-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yfhdek1CqljB24a0ntRFX7gJNeEztWxgd3a+0EjEsIY=; b=d4YQ92YMwBcXlZv/LKRnCMevs8Cj0d2QwmoWFP2URgVOFZXu0KLs7ep4qwKGUdwpi01OWhzf5kk0Al0yQBSt5vcwHaOOUn5MRdGc7XPF9REAEhuMq8vhOJf3LVqVZR7wD4YdQkFOt2K3N8j24NjKw/Xd0imDkd3B1kSSFMuVqoc= Received: from DM6PR02MB4876.namprd02.prod.outlook.com (20.176.111.29) by DM6PR02MB4858.namprd02.prod.outlook.com (20.176.111.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.27; Mon, 21 Jan 2019 17:26:42 +0000 Received: from DM6PR02MB4876.namprd02.prod.outlook.com ([fe80::112e:b038:31ec:e3fc]) by DM6PR02MB4876.namprd02.prod.outlook.com ([fe80::112e:b038:31ec:e3fc%5]) with mapi id 15.20.1537.031; Mon, 21 Jan 2019 17:26:42 +0000 From: "Hilbert, Karin" To: "pgsql-general@lists.postgresql.org" Subject: Manage PostgreSQL Database for GITLAB Application? Thread-Topic: Manage PostgreSQL Database for GITLAB Application? Thread-Index: AQHUsa3GbKR0s1410ECuhNtMfyKq2A== Date: Mon, 21 Jan 2019 17:26:42 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ioh1@psu.edu; x-originating-ip: [174.54.69.9] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM6PR02MB4858;6:C0jhlKZZFa4pr/B68oHon9k3DwMfLH143XoUkGtNWuYn+kuJ3yHrRnvb5VUENMYNKPr3qOFyo9GS46sL5NyI2uHGcu8yM458e8EE36FhtX558czGwL6PBfGYKOfQWW5YBgSF+BDFpF8aeyrxEBIQLrsL9ns/pzbDm1FX7lx306czT26ycgiK8DkozY4RjWQ8aCKMl8oRhjQO+J6La+4lkUh5E6tOcrTuA+4Ei+RO4Uz9s1VA8jfVEO41/sTbmxYP+1zrbLPa2obSa70dmIAHZ8RmXDM+7FqxB363qn28dFVtIjyKvIB8iV6FT466AhbmEUG3TCi2ZSYfJ+XwR1KilAMQnaUCrO8riZmujtfj7/0xu6oAErVxjfSttD8oDC+6PU/cG4AVoAQTx30VPhuT926GxBVjIsWD4RHs0MTCcDE5QUERKSOH4eLyZLx1C3Vagi54uYbmSX97n5DvyVM+rw==;5:9gIv3N6qSQzyMnYKwRziGNS+bKnFdRbbB+A00IkAEymSGQE3G/QF7kJwEGhJwdU7gxdh87k7OC8seIWG4XxTbgV1kJTX0n4rMGIF3NeMx/aquI5eUxIVltdNOmn35P9EW1rj+1oZqoZDeQcX3yJ8XRftR+afakwLhZnctMF2KDfavyd19tHIyHxfcHDNrBJHSDeFs1NblXjQ7iEHBOi7ng==;7:KQi5Ihr5xehMkcvgoRRcvNVe6gfwMin/7cBpeWRwH8isD1i1dmecs5LB8D2euVTWcPLpPUMHiO34ZhMpZ2CXFo9P9QaVMvoontJfwm5OqTYFcmIl1+Z3tTavw7kb3CFaKAyX0HtkC6pYMAXUWyBRYg== x-ms-office365-filtering-correlation-id: 8d400eae-a933-4fdb-4f7d-08d67fc59c4c x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020);SRVR:DM6PR02MB4858; x-ms-traffictypediagnostic: DM6PR02MB4858: x-microsoft-antispam-prvs: x-forefront-prvs: 0924C6A0D5 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(136003)(376002)(346002)(396003)(366004)(189003)(199004)(68736007)(786003)(476003)(316002)(99286004)(19627405001)(478600001)(256004)(26005)(486006)(186003)(75432002)(6436002)(8676002)(2501003)(81156014)(81166006)(6606003)(6116002)(3846002)(102836004)(2906002)(25786009)(33656002)(14444005)(54896002)(9686003)(88552002)(8936002)(6916009)(71190400001)(106356001)(105586002)(74316002)(71200400001)(97736004)(2351001)(4744005)(7736002)(86362001)(66066001)(14454004)(5640700003)(55016002)(7696005)(6506007)(53936002)(88722002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR02MB4858;H:DM6PR02MB4876.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: psu.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 9RgoUjy5nAOdXSX1RLb3y9ERMJuygaxWfVXGmd1P/PR6gy+fjo5entEJPq7VDTRVumgR9/KEOEPWunr8X8HMIBk3Vohz8Hd4pXwNuWVaFyLTe3B2ot/9bRn/93c/1P6Nb5WnlTw2AJGhuvOSBw2quk59TwnhKKR4Xr2WNBPu3Kyi4sk7ESnzG240/a9SngfLr7AlrbgQSuG4dhApUVQC8cTMSU4pXNAEqpP3OcsYRxqmyMnrLodpqKxkdmF+MZvC0lE547SfZeSgu/x4HIplxoCw+4YR85OYV6KFZAso6x+kmnlO7u6XjMKYaOvUk5RCr6gROhuB3EfiPp7+Xg6gUAosP7KrraNb9Au4eImGTjD/3NCgWc9Q59FI0Z/cs6UmkVvb5W/VlVYmUWK6DUJSm9QrW7gs1e5URMCT+dzZj0E= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_DM6PR02MB4876CBD53ECBC0D2A12A6DF9899F0DM6PR02MB4876namp_" MIME-Version: 1.0 X-OriginatorOrg: psu.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 8d400eae-a933-4fdb-4f7d-08d67fc59c4c X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2019 17:26:42.6723 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7cf48d45-3ddb-4389-a9c1-c115526eb52e X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4858 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_DM6PR02MB4876CBD53ECBC0D2A12A6DF9899F0DM6PR02MB4876namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Does anyone manage a PostgreSQL database for a GITLAB application? I have PostgreSQL v9.6 installed on my server & we are trying to migrate a = GITLAB database there. The developer says that we need to use the public schema instead of the sch= ema of the same name as the application user. The schema that he provided me to restore also is revoking all privileges f= rom the database owner & instead granting all privileges to PUBLIC. Has anyone else run across this? I always thought that granting privileges= to PUBLIC is a bad security thing to do? If anyone can offer any thoughts regarding this, it would be greatly apprec= iated. Thanks, Karin Karin Hilbert Database Specialist Administrative Information Services Pennsylvania State University 25 Shields Bldg., University Park, PA 16802 Work - 814-863-3633 Email - ioh1@psu.edu IM - ioh1@chat.psu.edu --_000_DM6PR02MB4876CBD53ECBC0D2A12A6DF9899F0DM6PR02MB4876namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Does anyone manage a P= ostgreSQL database for a GITLAB application?

I have PostgreSQL v9.6 inst= alled on my server & we are trying to migrate a GITLAB database there.<= /span>

The developer says that we = need to use the public schema instead of the schema of the same name as the= application user.

The schema that he provided= me to restore also is revoking all privileges from the database owner &= ; instead granting all privileges to PUBLIC.

Has anyone else run across = this?  I always thought that granting privileges to PUBLIC is a bad se= curity thing to do?

If anyone can offer any thoughts = regarding this, it would be greatly appreciated.

Thanks, Karin


Karin Hilbert
Database Specialist
Administrative Information Services
Pennsylvania State University
25 Shields Bldg., University Park, PA  16802
Work - 814-863-3633
Email - ioh1@psu.edu
IM - ioh1@chat.psu.edu

--_000_DM6PR02MB4876CBD53ECBC0D2A12A6DF9899F0DM6PR02MB4876namp_--