Update a composite nested type variable
| От | Luca Vernini |
|---|---|
| Тема | Update a composite nested type variable |
| Дата | |
| Msg-id | CAHZ=uVA9jV32M2NYhthHssS-Ra-ttYAkfL+OmH5D3b07gCivHg@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: Update a composite nested type variable
|
| Список | pgsql-sql |
I'm writing a system with havy use of composite types.
I have a doubt.I'm writing all in functions with language plpgsql.
When I read a field from a composite type I must write something like this:status = ((in_customer.customer_data).customer_status).status_id
(in_customer.customer_data).field_a := NULL;
ERROR: syntax error at or near "("
SQL state: 42601
ERROR: "in_customer.customer_data.field_a" is not a known variable
SQL state: 42601
В списке pgsql-sql по дате отправления: