Re: Creating serial ID on Windows.

From: Chris <dmagick(at)gmail(dot)com>
To: "Ardian Xharra (Boxxo)" <axharra(at)boxxo(dot)info>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Creating serial ID on Windows.
Date: 2006-03-28 00:32:41
Message-ID: 44288429.7000504@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ardian Xharra (Boxxo) wrote:
> I'm having some troubles restoring a database on Windows and I found
> this difference between PostgreSQL running on Linux and Windows.
> When I create a table like this:
> CREATE TABLE fee_payment1(id_fee_payment1 serial NOT NULL) WITH OIDS;
> On Linux platform it will be:
> CREATE TABLE fee_payment1 ( id_fee_payment1 serial NOT NULL) WITH OIDS;
> And on Windows platform is:
> CREATE TABLE fee_payment1
> ( id_fee_payment1 int4 NOT NULL DEFAULT
> nextval('fee_payment1_id_fee_payment1_seq'::regclass) ) WITH OIDS;
> So, I would like to know if this would have an impact throught restoring
> database.

Postgres doesn't care (in this regard anyway) what platform you are running.

There will be no difference between creating the table on windows to linux.

--
Postgresql & php tutorials
http://www.designmagick.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2006-03-28 00:35:02 Re: Recovery in PostgreSql
Previous Message Tom Lane 2006-03-27 22:09:13 Re: [GENERAL] PANIC: heap_update_redo: no block