Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e301w-0006w6-Q7 for pgsql-admin@arkaria.postgresql.org; Fri, 13 Oct 2017 13:29:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e301w-0001zz-5A for pgsql-admin@arkaria.postgresql.org; Fri, 13 Oct 2017 13:29:36 +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 1e301v-0001zO-Dp for pgsql-admin@postgresql.org; Fri, 13 Oct 2017 13:29:35 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e301n-0006SV-I7 for pgsql-admin@postgresql.org; Fri, 13 Oct 2017 13:29:34 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id C789F4C4B6; Fri, 13 Oct 2017 13:29:24 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RqfAs0Cvkejb; Fri, 13 Oct 2017 13:29:24 +0000 (UTC) Received: from shr-mbp-2.local (unknown [8.39.228.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id C6B444B47E; Fri, 13 Oct 2017 13:29:22 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Increase retention period of a table in database From: scott ribe In-Reply-To: <37018920e5984732a176436dbd80620c@ANMEX02.adnetman.local> Date: Fri, 13 Oct 2017 07:29:20 -0600 Cc: "pgsql-admin@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <09FB7EFC-BAE2-4591-93B0-F720C80FAED5@elevated-dev.com> References: <37018920e5984732a176436dbd80620c@ANMEX02.adnetman.local> To: Ishan Arora X-Mailer: Apple Mail (2.3273) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org There is no "retention period" in Postgres. If messages are disappearing af= ter 15 days, then your application is deleting them. > On Oct 13, 2017, at 6:42 AM, Ishan Arora wrote: >=20 > Hello Team, >=20=20 > I wanted to know if there is a way to increase the retention period of a = table in database? > I have created a database for storing chat messages; it is integrated wit= h Cisco IM & Presence application. For details on integration:https://www.c= isco.com/c/en/us/support/docs/unified-communications/unified-presence-versi= on-80/117735-cups-postgres-00.html >=20=20 > In the created db, the chat messages are stored in the =E2=80=98jm=E2=80= =99 table for which the retention period seems to be 15 days. I would like = to know if this can be increased and how. >=20=20 > Any inputs are highly appreciated. >=20=20 > Thanks & regards, > Ishan Arora -- Scott Ribe https://www.linkedin.com/in/scottribe/ (303) 722-0567 --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin