Re: Problems with a C function, pg_uname(), and String concatenation.

Поиск
Список
Период
Сортировка
От Rafael Martinez
Тема Re: Problems with a C function, pg_uname(), and String concatenation.
Дата
Msg-id 486A0E7D.9080001@usit.uio.no
обсуждение исходный текст
Ответ на Re: Problems with a C function, pg_uname(), and String concatenation.  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Ответы Re: Problems with a C function, pg_uname(), and String concatenation.  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-general
Pavel Stehule wrote:
> hello
> try
>
> memcpy(VARDATA(result),uname_pointer.release,strlen(uname_pointer.release));
> SET_VARSIZE(result, strlen(uname_pointer.release) + VARHDRSZ);
>
[.........]

This a 8.2.x system. SET_VARSIZE is not available.

Thanks for your time.
regards
--
  Rafael Martinez, <r.m.guerrero@usit.uio.no>
  Center for Information Technology Services
  University of Oslo, Norway

  PGP Public Key: http://folk.uio.no/rafael/

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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: multi-word expression full-text searching
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Problems with a C function, pg_uname(), and String concatenation.