Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f38KDo876069 for ; Sun, 8 Apr 2001 16:13:50 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f38EOw824853 for ; Sun, 8 Apr 2001 10:24:58 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f38Dtd696133 for pgsql-sql@postgresql.org; Sun, 8 Apr 2001 09:55:39 -0400 (EDT) (envelope-from news) From: =?iso-8859-1?Q?Hans=2DJ=FCrgen=20Sch=F6nig?= X-Newsgroups: comp.databases.postgresql.sql Subject: open and closed paths ... Date: Sun, 08 Apr 2001 15:59:25 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 32 Message-ID: <3AD06EBD.8EE8C6D7@cybertec.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: scrappy@hub.org X-Mailer: Mozilla 4.76 [de] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en To: pgsql-sql@postgresql.org X-Archive-Number: 200104/112 X-Sequence-Number: 2458 I am using PostgreSQL 7.0.3. I have tried the isopen() function but it doesn't seem to work (or it is not fully implemented yet). In my opinion the third record is a closed path but the isopen() functions return f. Have I done something wrong, have I got something wrong or is it a bug? Hans shop=# SELECT * FROM temppath; fieldname ---------------------- ((1,3),(4,12)) ((3,1),(2,8),(10,4)) ((3,1),(2,8),(3,1)) ((1,1),(2,2),(3,3)) (4 rows) shop=# INSERT INTO temppath(fieldname) VALUES ('(1,1), (2,3)'); INSERT 51857 1 shop=# SELECT isopen(fieldname) FROM temppath; isopen -------- f f f f f (5 rows)