Snippets?
От | Ken Lacrosse |
---|---|
Тема | Snippets? |
Дата | |
Msg-id | f0bac938148e4f4f8fa69d65de427258@pkwillis.com обсуждение исходный текст |
Ответы |
Re: Snippets?
Re: Snippets? |
Список | pgsql-general |
Is there any way in postgresql to have a "snippet" of SQL code which you could apply to all tables. Something you could add which would ensure that every table always has a Created, Changed and Deleted column for example. Sort of like a C include I suppose. Of course if I’m building a DB schema by hand I could just copy and paste those columns but it still seems a bit too, darn humans!, error prone.
Ken LaCrosse
Senior IT InfoSec and Infrastructure Monitoring Specialist
I.T. | American Recovery Service & Skipbusters
Phone: (800)398-6480 x3758
Email: KLacrosse@pkwillis.com
* Visibility is key. *
Without visibility you can't see.
What you can't see you can't measure.
What you can't measure you can’t planfully change.
What you can’t planfully change you can't manage.
And if we can’t manage then why are we here?
В списке pgsql-general по дате отправления: