Skip site navigation (1) Skip section navigation (2)

Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database"

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>,Christopher Browne <cbbrowne(at)gmail(dot)com>,Hannu Krosing <hannu(at)2ndquadrant(dot)com>,Andres Freund <andres(at)2ndquadrant(dot)com>,Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Josh Berkus <josh(at)agliodbs(dot)com>,Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database"
Date: 2013-01-07 13:42:32
Message-ID: 20130107134232.GW16126@tamriel.snowman.net (view raw or flat)
Thread:
Lists: pgsql-hackers
* Fabrízio de Royes Mello (fabriziomello(at)gmail(dot)com) wrote:
> Understood... a "COMMENT" is a database object, then if we add a creation
> time column to pg_description/shdescription tables how we track his
> creation time?

When it's NULL it "doesn't exist", in this case, when it transistions
from NULL, it becomes created.  A transistion from non-NULL to non-NULL
would be an alter, and a transistion from non-NULL to NULL would be a
drop/remove.

	Thanks,

		Stephen

In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2013-01-07 13:44:41
Subject: Re: Extra XLOG in Checkpoint for StandbySnapshot
Previous:From: Greg StarkDate: 2013-01-07 13:36:33
Subject: Re: Improve compression speeds in pg_lzcompress.c

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group