Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database" - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database"
Date
Msg-id 67vfmb41qi0dalm9v487sgeb.1357727561007@email.android.com
Whole thread Raw
List pgsql-hackers
One thing i'd really like to be in this common object info catalog is DDL which created or altered the referenced object. 
If we additionally could make it possible to have ordinary triggers on this catalog it would solve most logical DDL replication problems

Hannu




Sent from Samsung Galaxy Note

Peter Eisentraut <peter_e@gmx.net> wrote:
On Tue, 2013-01-08 at 17:17 -0500, Stephen Frost wrote:
> Seriously tho, the argument for not putting these things into the
> various individual catalogs is that they'd create bloat and these
> items
> don't need to be performant.  I would think that the kind of
> timestamps
> that we're talking about fall into the same data category as comments
> on
> tables.
>
> If there isn't a good reason for comments on objects to be off in a
> generic "this is for any kind of object" table, then perhaps we should
> move them into the appropriate catalog tables?

I think basic refactoring logic would support taking common things out
of the individual catalogs and keeping them in a common structure,
especially when they are for amusement only and not needed in any
critical paths.  All the ALTER command refactoring and so on that's been
going on is also moving into the direction that for data definition
management, there should be mainly one kind of object with a few
variants here and there.


pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: PL/perl should fail on configure, not make
Next
From: Simon Riggs
Date:
Subject: Re: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap [Review]