Re: Comparing tables in different db's

Поиск
Список
Период
Сортировка
От Darren Johnson
Тема Re: Comparing tables in different db's
Дата
Msg-id 3B75EADB.7090507@greatbridge.com
обсуждение исходный текст
Ответ на Re: Comparing tables in different db's  (Darren Johnson <djohnson@greatbridge.com>)
Список pgsql-hackers
Allan Engelhardt wrote:


> (1) The output contains the OID and the owner, so I guess it won't work without stripping comments first?
> 
I was using an older version of PostgreSQL which doesn't have
the comments, and it looks like I'll need to make the OID/owner
comments an option in pg_dump, once I get the further along
in the changes I am working on.  In the mean time you can try
something like..
pg_dump -a -t table_name db1|egrep -v "\(OID|Owner" > db1_dump.out
but this is a hack to strip the offending comments, and
wouldn't work in every situation.

> (2) It (still) doesn't work if you have datetime columns with more than two digits in the miliseconds field (see
below).
> 
I'm not sure about this one, I need to do more investigation here.  BTW what platform/OS
are you using?

Darren




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgSQL bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [PATCHES] Select parser at runtime