network_ops in 7.0 and pg_dump question

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: hackers(at)postgreSQL(dot)org
Subject: network_ops in 7.0 and pg_dump question
Date: 2000-02-07 20:31:22
Message-ID: Pine.GSO.3.96.SK.1000207232451.18475j-100000@ra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-02-07 20:52:01 Re: [HACKERS] network_ops in 7.0 and pg_dump question
Previous Message Don Baccus 2000-02-07 20:26:12 Re: [HACKERS] Duplicate table names