Re: Can I add a super table to existing tables?

From: Jun Yang <jyang825(at)gmail(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can I add a super table to existing tables?
Date: 2009-08-02 03:10:02
Message-ID: b365d0610908012010p49767304nb166fd45921aadd3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Aug 1, 2009 at 7:53 PM, David Fetter <david(at)fetter(dot)org> wrote:

> On Sat, Aug 01, 2009 at 06:28:54PM -0700, Jun Yang wrote:
> > Hi all,
> >
> > I want to add some common columns to all of my tables.
>
> Your case may be very special, but offhand, this sounds like a very
> bad idea. What task is it you're trying to accomplish?
>

Very simple. I have columns update_by and updated_at that I want every
table to have but don't want to add them one by one.

Cheers,
> David.

Jun

> --
> David Fetter <david(at)fetter(dot)org> http://fetter.org/
> Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
> Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
>
> Remember to vote!
> Consider donating to Postgres: http://www.postgresql.org/about/donate
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2009-08-02 04:13:35 Re: Can I add a super table to existing tables?
Previous Message David Fetter 2009-08-02 02:53:34 Re: Can I add a super table to existing tables?