Re: Migrating from mysql.

From: Ron Peterson <rpeterson(at)yellowbank(dot)com>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Joe Karthauser <joe(at)pavilion(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Migrating from mysql.
Date: 2000-05-26 13:21:05
Message-ID: 392E7A41.1A533EC9@yellowbank.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jan Wieck wrote:
>
> Ron Peterson wrote:
>
> As long as there's someone watching you ;-)

:-)

> > No. Try a combination of default value and an update rule. I've
> > included an example below. There was a discussion on this list recently
> > about when to use rules vs. triggers. You might want to read the
> > archives about that. Something I need to review more myself.
>
> Exactly that. Rules are good for redirecting an entire query
> to another operation (INSERT->UPDATE for example) or to fire
> additional "global" queries on other tables.

I'm trying to learn more about triggers. In doing so, I found some
example Server Programming Interface (SPI) functions in /contrib. Most
germane to this discussion is the 'moddatetime' example, which was
provided by Terry Mackintosh, with help from PostgreSQL's very own Jan
Wieck...

Must be like deja vu all over again.

-Ron-

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Hoffmann 2000-05-26 13:31:25 Re: createdb -- alternate locations
Previous Message planx plnetx 2000-05-26 13:18:02 about error : FATAL 1: cannot create init file ....../template1/pg_internal.init