in name.c file in source code of postgresql
I find some fuctions that I don't know where did use them?
the functions are:
int namecpy(Name n1, Name n2){..}
int namecat(Name n1, Name n2){..}
int namecmp(Name n1, Name n2){..}
int namestrcpy(Name name, const char *str){..}
int namestrcat(Name name, co
if I don't dalloc parameters that allocated with palloc0 then will free the
allocated memory at the end of transaction?
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:
Names = PG_GETARG_NAME(0);
PG_RETURN_CSTRING(pstrdup(NameStr(*s)));
what do the pstrdup() function?
do this function create string from name with null-term
hello.
in copy.c is one function that its name is CopyOneRowTO.
in this function have one foreach loop. in this loop first if have this
condition: !cstate->binary
what means this condition and when true this condition?
thank you.
I work in linux
I want use testlo.c in client side that testlo.c is in src/test/example/
address of postgresql source code.
I run make in /src/test/example/
then copy executable file(testlo) in lib directory of installation
directory of postgresql.
now I don't know how do I can use this execute lib
hi
I want that find where did a new tuple data construct in postgresql code
when query is update.
I find that ExecModiryTable is an upper function for do it. but I want to
find exact place that create the data of one row of table.
can you help me?
hello.
dose one create index on the large table changes the place of some tuples
in some pages?
what is log switch and when it occur ?
hello.
I am reading about WAL and XLOG records.
I am beginner in them.
can you direct me and give me some document?
hello.
I am reading about WAL and XLOG records.
I am beginner in them.
can you direct me and give me some document?
I want to know what did save in XLOG records exactly and who can create
XLOG records?
hello .
In Postgres.c we have a switch for firstchar . one of case of them is :
case 'Q' that is for simple queries.
I want to know the other cases were for what operations .
and:
is the case with 'Q' parameter for DDL and DML commands?
11 matches
Mail list logo