How to insert data to a table with datarange data type? - Mailing list pgadmin-support

From Csanyi Pal
Subject How to insert data to a table with datarange data type?
Date
Msg-id 20130309204353.GA10224@localhost
Whole thread Raw
Responses Re: How to insert data to a table with datarange data type?  (Jeff Janes <jeff.janes@gmail.com>)
List pgadmin-support
Hi,

I just installed postgresql 9.2 and PgAdmin3 version 1.16.1 on my Debian
Wheezy system.

I have a database and in it a table with one column 'date' that is
daterange type.

When I want to add the first date into that table I get error message:
An error has occurred:

ERROR:  array value must start with "{" or dimension information
LINE 1: ...félévek_negyedévek".felev_2_napjai(datum) VALUES
('2013.03.0...

An error has occurred:

ERROR:  array value must start with "{" or dimension information
LINE 1: ...félévek_negyedévek".felev_2_napjai(datum) VALUES
('2013.03.0... 

What is the proper way to instert a date into this table?

-- 
Regards from Pal




pgadmin-support by date:

Previous
From: Craig Ringer
Date:
Subject: Re: pgAdmin and AWS Redshift Connection problems
Next
From: Jeff Janes
Date:
Subject: Re: How to insert data to a table with datarange data type?