pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hans-Jürgen Schönig <hs@cybertec.at>
To: pgsql-sql@postgresql.org
Subject: open and closed paths ...
Date: Sun, 08 Apr 2001 15:59:25 +0200
Message-ID: <3AD06EBD.8EE8C6D7@cybertec.at> (raw)

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)





view thread (4+ messages)  latest in thread

Message-ID: <3AD06EBD.8EE8C6D7@cybertec.at>
Permalink:  ../3AD06EBD.8EE8C6D7@cybertec.at/
Also on:    postgresql.org/message-id/3AD06EBD.8EE8C6D7@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: hs@cybertec.at
  Subject: Re: open and closed paths ...
  In-Reply-To: <3AD06EBD.8EE8C6D7@cybertec.at>
  References: <3AD06EBD.8EE8C6D7@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox