network_ops in 7.0 and pg_dump question

Oleg Bartunov <oleg@sai.msu.su>

From: Oleg Bartunov <oleg@sai.msu.su>
To: hackers@postgreSQL.org
Date: 2000-02-07T20:31:22Z
Lists: 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