How to insert data to a table with datarange data type?

Поиск
Список
Период
Сортировка
От Csanyi Pal
Тема How to insert data to a table with datarange data type?
Дата
Msg-id 20130309204353.GA10224@localhost
обсуждение исходный текст
Ответы Re: How to insert data to a table with datarange data type?  (Jeff Janes <jeff.janes@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: pgAdmin and AWS Redshift Connection problems
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: How to insert data to a table with datarange data type?