Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMKNr-0005UZ-Ep for pgsql-general@arkaria.postgresql.org; Tue, 05 Dec 2017 21:04:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMKNq-0008Vx-Fo for pgsql-general@arkaria.postgresql.org; Tue, 05 Dec 2017 21:04:06 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eMKNq-0008Vj-8s for pgsql-general@lists.postgresql.org; Tue, 05 Dec 2017 21:04:06 +0000 Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eMKNn-0002OX-0L for pgsql-general@lists.postgresql.org; Tue, 05 Dec 2017 21:04:05 +0000 Received: by mail-qt0-x229.google.com with SMTP id g10so4093274qtj.12 for ; Tue, 05 Dec 2017 13:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=piotGUEovxLw3sraSF4viIp+rjUHB+DK8BXgutao7Gg=; b=jYir2rPj0L4PYNHhQywreDUcVcT1lWet1NuWkjqVh6yQf6/VZBmeyKEgqCBYVkAGr+ PPCH1P+THnRAdBi6A67umOCkVB6ozOtqoYUAP/7MEfGllkkkyy8Ios6KeLVI0uEPJtA0 iyO8meWDGi+lHSS3oP5u2zHy2lw+LtZN0bmu8bcLFJ8tnStzAJ/g0YELF5nbygk1bkEB pKX1OWQ730EtwmgCy69Sqr6F+LGDgcW38E6OiCU7uHiiWY0baUyNqewHgQTblJWAliN8 3S/2ECCjaYUD1tZOpKGEVQN8MTo/xPsZ/IxlfCGqwn0iFPasbGny0RWHcObQ4yvyoRhz RBVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=piotGUEovxLw3sraSF4viIp+rjUHB+DK8BXgutao7Gg=; b=XYoVX9vfz9yZrFgYdx9DIpFkVUNj/gJKeico1FBiKjUllHgGZWSbOvsCgwFL74JI/T cNqcpfxOF+ARh3yg5DrDZ2AqVwWmC1WdMzOzhQ2TOY+Y5Q5xzQyIkh07iS3P/zexA6O6 ZIYftcMJ33rQxbi9weCA0zO5myNbhTKInfvtpn6X/6cQaWMV7A9Ra0nw7t9lj0XciPqM rNcOw1BLkvorQFsJ2wA8XacneHi41/wXwL2af89LZCc9Q0KHQCDMTsulUXyEIj5jbb20 XixtY03ZE6EDD6XfuPG8quugSO6PR2XezWkWk+wSicNTe0Rc2pHkeaDKfu3ZjtTBvde3 pdQg== X-Gm-Message-State: AKGB3mLTem3DAf9ZIbmEZ+lyXdKOHEi+XdenFBJem9vvmwJGJ8beNwen y4dpcvxNX5I0MzfnDGm3YrYIBg== X-Google-Smtp-Source: AGs4zMZz23V1hYJaG3rUcfJq0b/LlI8XVLRxKP8L4Eg6qLXf2rWjoRYvbOqeLShpUaOvCXluJIAF1g== X-Received: by 10.237.57.233 with SMTP id m96mr2986820qte.192.1512507840722; Tue, 05 Dec 2017 13:04:00 -0800 (PST) Received: from alvin.alvh.no-ip.org ([179.57.113.18]) by smtp.gmail.com with ESMTPSA id f56sm641012qtk.13.2017.12.05.13.03.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Dec 2017 13:04:00 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 1C93312D1; Tue, 5 Dec 2017 18:03:58 -0300 (-03) Date: Tue, 5 Dec 2017 18:03:58 -0300 From: Alvaro Herrera To: Riccardo Bassani Cc: pgsql-general@lists.postgresql.org Subject: Re: Feature idea: Dynamic Data Making Message-ID: <20171205210358.la6vonqqysvrevaf@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Riccardo Bassani wrote: > As SQL Server 2016 ( > https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking > ) , or Oracle does: it could be a neat feature having Dynamic Data > Masking, even if it has some limitations, it could help in the > application development, imho. > > I know it's possible to put this logic in the application (if you look > in internet for "spring framework data masking" you find a lot of > results). > > What do you think? > I know there is more important things to do (like partitioning or > parallelism), but it could be neat to see that in a future release . Data masking is pretty important actually. Since you seem to have an interest in seeing it done, care to submit a patch? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services