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 1hfKrH-0006jp-Uy for pgsql-general@arkaria.postgresql.org; Mon, 24 Jun 2019 09:01:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hfKrF-0003kK-NG for pgsql-general@arkaria.postgresql.org; Mon, 24 Jun 2019 09:01:49 +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 1hfKrF-0003jc-DK for pgsql-general@lists.postgresql.org; Mon, 24 Jun 2019 09:01:49 +0000 Received: from tmghyd.techmahindra.com ([119.151.17.190]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hfKr4-0003IF-QH for pgsql-general@lists.postgresql.org; Mon, 24 Jun 2019 09:01:45 +0000 X-Disclaimer: true IronPort-PHdr: =?us-ascii?q?9a23=3Ak6gAsh9hLJHZO/9uRHKM819IXTAuvvDOBiVQ1KB2?= =?us-ascii?q?2+scTK2v8tzYMVDF4r011RmVBN+dsqgP07ue8/i5HzBZuNDZ6DFKWacPfidNsd?= =?us-ascii?q?8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVv?= =?us-ascii?q?O+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIxi6sBvdutMLjYd8Jao91h/EqWZMd+?= =?us-ascii?q?hK2G9kP12ekwvh6suq4JJv7yFcsO89+sBdVqn3Y742RqFCAjQ8NGA16szrtR3d?= =?us-ascii?q?QgaK+3ARTGYYnAdWDgbc9B31UYv/vSX8tupmxSmVJtb2QqwuWTSj9KhkVhnlgz?= =?us-ascii?q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saBnSAA/YL3V1egyLtnoRgPHNuyKT1Kq?= =?us-ascii?q?T9+8CDc9BoYS+IclPBknRY6Ksh3I3w+jA74Tm6aCQpcz9/SPjDDKO89hxiOeh+?= =?us-ascii?q?EahF48T54XOA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2FzAADRkBBd/xgQBgpkHQEBBQEHBQGBU?= =?us-ascii?q?wgBCwGBFIFsgTaMKIsoAQEBAQEBBow9iBWFSoF7CQEBAQEBAQEBAQgvAQGHTDQ?= =?us-ascii?q?JDgEDAQEFAQEBAQUBAQKLIQuCOiKDI14BFWsfBwEEG4MbgR1ZpF0aiEyBRoE0A?= =?us-ascii?q?YFhiwuBB48HBIEtAQEBkhOWRQEGAgGCFpNaI40sA4oYET2MWJcrgVBjGoEUMz2?= =?us-ascii?q?BboEBAQFMgkwXjiCQAYEhAQE?= X-IPAS-Result: =?us-ascii?q?A2FzAADRkBBd/xgQBgpkHQEBBQEHBQGBUwgBCwGBFIFsgTa?= =?us-ascii?q?MKIsoAQEBAQEBBow9iBWFSoF7CQEBAQEBAQEBAQgvAQGHTDQJDgEDAQEFAQEBA?= =?us-ascii?q?QUBAQKLIQuCOiKDI14BFWsfBwEEG4MbgR1ZpF0aiEyBRoE0AYFhiwuBB48HBIE?= =?us-ascii?q?tAQEBkhOWRQEGAgGCFpNaI40sA4oYET2MWJcrgVBjGoEUMz2BboEBAQFMgkwXj?= =?us-ascii?q?iCQAYEhAQE?= X-IronPort-AV: E=Sophos;i="5.62,411,1554748200"; d="scan'208,217";a="168844587" Received: from unknown (HELO UKEXCHMBX002.TechMahindra.com) ([10.6.16.24]) by TMGHYD.techmahindra.com with ESMTP/TLS/AES256-SHA256; 24 Jun 2019 14:31:30 +0530 Received: from UKEXCHMBX003.TechMahindra.com (10.6.16.29) by UKEXCHMBX002.TechMahindra.com (10.6.16.24) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 24 Jun 2019 10:01:28 +0100 Received: from UKEXCHMBX003.TechMahindra.com ([fe80::78f3:87c1:c766:fb74]) by UKEXCHMBX003.TechMahindra.com ([fe80::78f3:87c1:c766:fb74%20]) with mapi id 15.00.1395.000; Mon, 24 Jun 2019 10:01:28 +0100 From: Karl Martin Skoldebrand To: "pgsql-general@lists.postgresql.org" Subject: sequences Thread-Topic: sequences Thread-Index: AdUqaungmh9OTf83TXe8gxavnQK/cQ== Date: Mon, 24 Jun 2019 09:01:27 +0000 Message-ID: <58d4e306318949238145d0cfb0c37f50@UKEXCHMBX003.TechMahindra.com> Accept-Language: sv-SE, en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.6.248.54] Content-Type: multipart/alternative; boundary="_000_58d4e306318949238145d0cfb0c37f50UKEXCHMBX003TechMahindr_" MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_58d4e306318949238145d0cfb0c37f50UKEXCHMBX003TechMahindr_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, I'm trying to troubleshoot a case where users are getting data from a datab= ase, despite they having said they are not interested. There is a number of sequences in the database in question, but to me they = look "empty", like stubs. create sequence db_table_seq; alter sequence db_table_seq owner to dbnameuser; (all names obfuscated) To me it look like the only thing going is changing the ownership of the se= quence. For unknown reasons. What is your impression the intention is with this? //Martin S =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Disclaimer: This message and the information contained herein is proprieta= ry and confidential and subject to the Tech Mahindra policy statement, you = may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.= com/tim/disclaimer.html i= nternally within TechMahindra. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --_000_58d4e306318949238145d0cfb0c37f50UKEXCHMBX003TechMahindr_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m trying to troubleshoo= t a case where users are getting data from a database, despite they having = said they are not interested.

There is a number of sequences = in the database in question, but to me they look “empty”, like = stubs.

 

create sequence db_table_seq;

alter sequence db_table_seq owner to dbnameuser;

 

(all names obfuscated)

 

To me it look like the only thing going is changing the = ownership of the sequence. For unknown reasons.

What is your impression the intention is with this?=

 

//Martin S

 

=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Disclaimer:  This= message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at= http://www.techmah= indra.com/Disclaimer.html externally http= ://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.

=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--_000_58d4e306318949238145d0cfb0c37f50UKEXCHMBX003TechMahindr_--