network_ops in 7.0 and pg_dump question

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема network_ops in 7.0 and pg_dump question
Дата
Msg-id Pine.GSO.3.96.SK.1000207232451.18475j-100000@ra
обсуждение исходный текст
Ответы Re: [HACKERS] network_ops in 7.0 and pg_dump question  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Hi,

what's happen with network_ops in current CVS ?
I just synced sources and couldn't load dump from 6.5.3 - 
problem occures on 
CREATE  INDEX "face_key" on "face" using btree ( "eid" "int4_ops", "ip" "network_ops" );

The message I got:
CREATE
ERROR:  DefineIndex: network_ops class not found


Table face:
election=# \d face          Table "face"Attribute |    Type    | Modifier 
-----------+------------+----------eid       | integer    | ip        | inet       | vdate     | datetime   | ftrs
|smallint[] | 
 



Also, does new pg_dump is aware about order of defining of function 
and tables, when function is used in CREATE TABLE, for example:
CREATE TABLE "applicant" (       "candx" int2 DEFAULT next_applicant ( ) NOT NULL,       "candidate" text,
"candt"int2,       "img" text);
 
but function next_applicant() is dumped in 6.5.3 after  CREATE TABLE
and this cause an error. I had manually edit dump file to reverse order :-)


Regards,
    Oleg

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83



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

Предыдущее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Using libpq.dll from Delphi
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] An introduction and a plea ...