network_ops in 7.0 and pg_dump question - Mailing list pgsql-hackers

From Oleg Bartunov
Subject network_ops in 7.0 and pg_dump question
Date
Msg-id Pine.GSO.3.96.SK.1000207232451.18475j-100000@ra
Whole thread Raw
Responses Re: [HACKERS] network_ops in 7.0 and pg_dump question
List 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 by date:

Previous
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Using libpq.dll from Delphi
Next
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] An introduction and a plea ...