| From: | "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> |
|---|---|
| To: | "Luis Dominguez" <bcld(at)hotmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, "pgsql-es-ayuda(at)postgresql(dot)org" <pgsql-es-ayuda(at)postgresql(dot)org>, "vepug(at)postgresql(dot)org" <vepug(at)postgresql(dot)org> |
| Subject: | Re: REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux |
| Date: | 2010-02-11 15:06:29 |
| Message-ID: | 4B73C895020000250002F180@gw.wicourts.gov |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-es-ayuda vepug |
Luis Dominguez <bcld(at)hotmail(dot)com> wrote:
> I am now in the process of migrating a database from a driver
> ms sql server 7.0 to postgresql 8.4 vesion but I have a problem
> with the data type (timestamp) SQL Server 7.0 that refers to a
> single binary field that is updated randomly by row, and this
> field is paramount in my application for purposes of monitoring,
> postgresql 8.4 now also have the same timestamp but refers to
> other data (date + time), I investigated other types of data such
> as (serial, uuid, xid, byte etc) in postgresql and not get
> something just to replace it, I thought of a function that do
> something similar but not yet tried, and of course I turn to you
> to see if I can lend a hand with this rut that I have right now
Did you consider creating a SEQUENCE used by a trigger on update or
insert of a row?
http://www.postgresql.org/docs/8.4/interactive/sql-createsequence.html
-Kevin
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dimitri Fontaine | 2010-02-11 15:11:54 | Re: please remove my email address |
| Previous Message | Santiago Zarate | 2010-02-11 13:52:03 | Re: [vepug] REF : MIgracion de datos ms sql server 7.0 a Postgresql 8.4 en Linux |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Iñigo Martinez Lasala | 2010-02-11 16:19:49 | Re: REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux |
| Previous Message | Santiago Zarate | 2010-02-11 13:52:03 | Re: [vepug] REF : MIgracion de datos ms sql server 7.0 a Postgresql 8.4 en Linux |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Iñigo Martinez Lasala | 2010-02-11 16:19:49 | Re: REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux |
| Previous Message | Santiago Zarate | 2010-02-11 13:52:03 | Re: [vepug] REF : MIgracion de datos ms sql server 7.0 a Postgresql 8.4 en Linux |