pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Luis Dominguez <bcld@hotmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
To: pgsql-es-ayuda@postgresql.org <pgsql-es-ayuda@postgresql.org>
To: vepug@postgresql.org <vepug@postgresql.org>
Subject: Re: REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux
Date: Thu, 11 Feb 2010 09:06:29 -0600
Message-ID: <4B73C895020000250002F180@gw.wicourts.gov> (raw)
In-Reply-To: <SNT110-W49AEC4F2267D5ACA7179D3C64E0@phx.gbl>
References: <SNT110-W49AEC4F2267D5ACA7179D3C64E0@phx.gbl>

Luis Dominguez <bcld@hotmail.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



view thread (4+ messages)  latest in thread

Message-ID: <4B73C895020000250002F180@gw.wicourts.gov>
Permalink:  ../4B73C895020000250002F180@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4B73C895020000250002F180@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, bcld@hotmail.com, pgsql-es-ayuda@postgresql.org, vepug@postgresql.org
  Subject: Re: REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux
  In-Reply-To: <4B73C895020000250002F180@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox