On Sat, Mar 9, 2013 at 12:43 PM, Csanyi Pal <csanyi...@gmail.com> wrote:

> 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...
>

It looks like you may have declared your column to be of type daterange[],
not type daterange.

That is, an array of dateranges, not a simple daterange.

Cheers,

Jeff

Reply via email to