Re: userdefined types

Поиск
Список
Период
Сортировка
От Assad Jarrahian
Тема Re: userdefined types
Дата
Msg-id 4bd3e1480601091030j2a3cc0abk4f6f30eb0ab64c7c@mail.gmail.com
обсуждение исходный текст
Ответ на Re: userdefined types  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: userdefined types  (Tino Wildenhain <tino@wildenhain.de>)
Список pgsql-general
Why is the first commaa wrong?
I guess thats my question

how do I set a value of a type to null?
I mean if type is made up of type a,b,c
how do I set them all at once, but having b to be null?

I thought using the ,, with nothing in between would do that I guess I
was wrong.
Any help would be much appreciated.
-assad

On 1/9/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Assad Jarrahian <jarraa@gmail.com> writes:
> > UPDATE userprofiles SET address  = ROW(
> > ,'','','',,'',,'','','','','','','','','','') where
> > username='mooreg3';
>
> > ERROR:  syntax error at or near "," at character 41
>
> That first comma is wrong, or else you forgot to put in a value
> before it ...
>
>                         regards, tom lane
>

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Drop user doesn't drop granted privs?
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: userdefined types