pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Hart <tjhart@mac.com>
To: pgsql-sql@postgresql.org
Subject: Fwd: line datatype
Date: Sun, 14 Jul 2002 21:32:35 -0600
Message-ID: <8109AB25-97A3-11D6-8730-000393460410@mac.com> (raw)

Probably the most succinct explanation would be to copy & paste from the 
terminal...

tjhart=> create table a_line( foo line );
CREATE
tjhart=> insert into a_line ( foo ) values( '(0,0), (1,1)' );
ERROR:  line not yet implemented
tjhart=> select version();
                                version
---------------------------------------------------------------------
  PostgreSQL 7.2.1 on powerpc-apple-darwin5.3, compiled by GCC 2.95.2
(1 row)


The documentation (datatype-geometric.html) indicates both a 'line' type 
and an 'lseg' type in the summary table at the top of the page. The same 
code above using the type 'lseg' in place of 'line' works just fine.

Why can I create a table with a column of type 'line' if I can't insert 
into it?




view thread (16+ messages)  latest in thread

Message-ID: <8109AB25-97A3-11D6-8730-000393460410@mac.com>
Permalink:  ../8109AB25-97A3-11D6-8730-000393460410@mac.com/
Also on:    postgresql.org/message-id/8109AB25-97A3-11D6-8730-000393460410@mac.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tjhart@mac.com
  Subject: Re: Fwd: line datatype
  In-Reply-To: <8109AB25-97A3-11D6-8730-000393460410@mac.com>

* 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