Re: Data conversion tools?

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Data conversion tools?
Дата
Msg-id 45692242-B73E-4ECB-9F16-FD31F57518DB@decibel.org
обсуждение исходный текст
Ответ на Data conversion tools?  (Dan Armbrust <daniel.armbrust.list@gmail.com>)
Ответы Re: Data conversion tools?
Список pgsql-general
On Nov 15, 2006, at 12:41 PM, Dan Armbrust wrote:

> I'm trying to convert a database from either MS Access or MySQL
> into Postgres.  I have found a couple of tools that will almost do
> what I want - but not quite.  To make things match up with code
> that is already written - I need to have all of the table names and
> column names converted to lower case during the conversion process.

Well, for tables it wouldn't be hard to craft a query that spits out
the appropriate ALTER TABLE RENAME statements. Unfortunately, ALTER
TABLE doesn't support renaming columns, but it might be safe to run
an update on the system tables to accomplish that.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Discover temporary INDEX/TABLE name
Следующее
От: "surabhi.ahuja"
Дата:
Сообщение: Re: dependency on 32 bit libpq.so on 64 bit Postgres server.