Name type in postgres - Mailing list pgsql-hackers

From mohsen soodkhah mohammadi
Subject Name type in postgres
Date
Msg-id CAGT6x6d9aAFDcP-u0s6cgKB1P=1f1NExQjP78B1tSSTay6x7aQ@mail.gmail.com
Whole thread Raw
Responses Re: Name type in postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE
Next
From: Pavel Stehule
Date:
Subject: Re: Assertions in PL/PgSQL