pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Kelly Kane <kellykann_1@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problem Postgres importation of sql file
Date: Sun, 10 Apr 2005 21:37:06 -0500
Message-ID: <20050411023706.GC23646@wolff.to> (raw)
In-Reply-To: <BAY102-F30780E462F8FBC538D716CDC310@phx.gbl>
References: <BAY102-F30780E462F8FBC538D716CDC310@phx.gbl>

On Sun, Apr 10, 2005 at 13:06:15 +0000,
  Kelly Kane <kellykann_1@hotmail.com> wrote:
> 
> I'm using PgAdminIII for postgres and the software I used to create tables 
> is called "DB Designer" but the sql file generated doesn't work with 
> postgres if I try to import from this file, it makes errors (for example 
> unsigned, or auto-incrément don't exist in Postrgeres compared to mysql).

If you like the tool you are using, then postprocessing the generated script
might be a good solution for you.

It shouldn't be too hard to write a script in perl (or some other scripting
language) that substitutes keywords that are roughly equivalent in postgres
for the ones that don't work.



view thread (2+ messages)

Message-ID: <20050411023706.GC23646@wolff.to>
Permalink:  ../20050411023706.GC23646@wolff.to/
Also on:    postgresql.org/message-id/20050411023706.GC23646@wolff.to

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruno@wolff.to, kellykann_1@hotmail.com
  Subject: Re: Problem Postgres importation of sql file
  In-Reply-To: <20050411023706.GC23646@wolff.to>
  References: <BAY102-F30780E462F8FBC538D716CDC310@phx.gbl> <20050411023706.GC23646@wolff.to>

* 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