Porting Schema from MySQL

From: "Farhan Khan" <farhankhan(at)google(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Porting Schema from MySQL
Date: 2007-10-01 19:54:29
Message-ID: 93d670240710011254q7932505cuecefe4a4361020a6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi ... I am porting a db schema from MySQL to postgresql and having problem
in defining a column level constraint...

mtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,

gives me problem at ^ON UPDATE ...

Any pointer for implementing this functionality in postgresql ??

Tx .. Farhan

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2007-10-01 20:02:32 Re: Find clusters containing a schema?
Previous Message Dimitri Fontaine 2007-10-01 19:39:40 Re: Data cube in PostgreSQL