Re: Problem Postgres importation of sql file

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Problem Postgres importation of sql file
Дата
Msg-id 20050411023706.GC23646@wolff.to
обсуждение исходный текст
Ответ на Problem Postgres importation of sql file  ("Kelly Kane" <kellykann_1@hotmail.com>)
Список pgsql-admin
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.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: postgres help
Следующее
От: John DeSoi
Дата:
Сообщение: Re: PostgreSQL 8.0 installation on Windows XP installation