Name type in postgres

Поиск
Список
Период
Сортировка
От mohsen soodkhah mohammadi
Тема Name type in postgres
Дата
Msg-id CAGT6x6d9aAFDcP-u0s6cgKB1P=1f1NExQjP78B1tSSTay6x7aQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Name type in postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
hello.
I want do understand that did can we have name without null-terminator?
in src/backend/util/adt/name.c in nameout() function is:
Name        s = PG_GETARG_NAME(0);
PG_RETURN_CSTRING(pstrdup(NameStr(*s)));
what do the pstrdup() function?
do this function create string from name with null-terminate?

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Assertions in PL/PgSQL