Problem with array

Поиск
Список
Период
Сортировка
От Bernie Huang
Тема Problem with array
Дата
Msg-id 393BF0F8.64EA1CE1@ec.gc.ca
обсуждение исходный текст
Список pgsql-sql
Hi,

Instead of using
    select car_name
    from car_table
    where car_property[1]='1995';   (*)

Can I use
    where car_property['year']='1995';

in Postgres??  I want to use a more descriptive name than just using
index for the array (not just during insertion but as well as to specify
it in table creation!)

Any idea?  Thanks.


- Bernie

Вложения

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Rob S."
Дата:
Сообщение: RE: Default timestamp value
Следующее
От: Fabrice Scemama
Дата:
Сообщение: Re: Vacuum problem in my system ?