Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eORRI-0002WK-1S for pgsql-general@arkaria.postgresql.org; Mon, 11 Dec 2017 17:00:24 +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 1eORRH-0002iP-KX for pgsql-general@arkaria.postgresql.org; Mon, 11 Dec 2017 17:00:23 +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 1eORRH-0002iG-Cx for pgsql-general@lists.postgresql.org; Mon, 11 Dec 2017 17:00:23 +0000 Received: from mout.gmx.net ([212.227.15.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eORRE-0000cR-Q6 for pgsql-general@lists.postgresql.org; Mon, 11 Dec 2017 17:00:22 +0000 Received: from [192.168.188.30] ([130.180.47.146]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MId0S-1eMEW31Tho-002GIu for ; Mon, 11 Dec 2017 18:00:19 +0100 Subject: Re: How to know if a database has changed To: pgsql-general@lists.postgresql.org References: From: Walter Nordmann Message-ID: <0bd24d60-c56b-a0b0-0639-bb30882d46c1@gmx.de> Date: Mon, 11 Dec 2017 18:00:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: de-DE X-Provags-ID: V03:K0:Z/ZUp4v4hNNhZ+3rLAhlk7ZUd9AwLLJ7vubRCq430HElDzZSRIQ 0+vaGH3IdozLhos40fuHRYDQcmzsiI3V9t8d0/7ggt9qRTqZd1DOGIPLOy817Q3hkuTzNlL Rl9JuG9D+bMKVnuSSsVLQ/28IkUliEaRnW37EYffnGzm8ey9PPUfApGH5E8VAT+pelSWBoy dBM7vc5h/m+DrXIKKvZcA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Co6Y7jGQMNs=:9js+oSd0SZJut/I5fEITDM xs/wdWkS8LEhPkB1eCW6f6q87CzfNpPhgHEHn9KJVVM8E5DWIJpeF4NAWV7smiffKfi591oUm j+IDGbVZdWv5Vje+3QjAi0Bp5T7M/yIu82efog3zG8MeaGNLbrKLL15XGm+OnedWzjwBuFxba XmgArLJ0oSFCqn1VQMPs2vO5RAZDwTla71ykislH+xFWNGY12CEqIWkUK0214sdgjfW2zcHCH ++VTztisYy+T0pyG7kfDsd0km/Uoa875k2kXWJ2GAvbHLtf3T5h9Ed/VemWqH1E1xUx7nQGE2 1H8MlCPYFgEMW8o/TqcRGbg+lTDORrHLb/LNaFpPPnHmSlDLBKF9p9z5VpeDf9AH0+CS+GppM Bx5fzo8sQ1kTJYvtCuRGqapqXzd/EVPPNuE+u8A3hcJvkrswfQIYKFvla2igpIfoN+P/WudcP V7ROVZ1B/7MGJgvyvLaC9G4cthbagxMvDtR2vx+Ls0Y/9CB+QvxdkOrTZ5EAKdGbY0b95qI4p 7tDuvxb52GLYtiC3s+Kt24yxIlYbSY7/lduB0tEjWjkvCo2xLA3kRqBGwx0pYvGG4W2gw8cfl xaPfiV0+HJng4GzRCA0g8R7BMTJmuWkC/45RO4NknAM6vRT/5alzrHTbuSLbUNUBdcoAt+HTL ckeSXZVYH6Lnrt06BZnHQEBCnkqmnvtz/j89nUOMZ7WilRDxdG8OCe/mfQUQmohW7ulc+JJtQ TCLZ+0eaoE7EX4KOgLzqFq8OPHksfZ8a64E9i+4zm540om2vLcgN27ra6LUTxc1+JpBb8Cnnb nZ0stOS9usE3kptocX6s1mP+nF2y/nBiunTI6MEQIcRbsZ8MB0= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, a) create triggers on some tables (on update, on delete ...). let the triggers write some log, check the log or let the triggers update one central table adding database, tablenames with "table ... in database ... has been updated, modified' b) enable detailed loggin and check the system log. c) both ;) Regards walter Am 11.12.2017 um 17:48 schrieb marcelo: > The installation I'm planning will manage several databases, but not > all of them will change every day. > In order to planning/scripting the pg_dump usage, I would need to know > which databases had some change activity at the end of some day. > How can it be done? > TIA >