[GENERAL] SPI_execute_plan and vardata - Mailing list pgsql-general

From Арсен Арутюнян
Subject [GENERAL] SPI_execute_plan and vardata
Date
Msg-id 1498147962.639579610@f510.i.mail.ru
Whole thread Raw
Responses Re: [GENERAL] SPI_execute_plan and vardata  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello

I can't:convert char* to Datum

Datum Values[2];

Values[0]-is integer type 
but Values[1] is string type so 

Values[0] = SET_4_BYTES(227);

please assist how can i convert som char* string to Datum

Values[1] = CONVERT_STRING_TO DATUM(char *); etc

best
--
Арсен Арутюнян

pgsql-general by date:

Previous
From: Victor Yegorov
Date:
Subject: Re: [GENERAL] londiste3: removing a node that does not exist
Next
From: Jim Longwill
Date:
Subject: Re: [GENERAL] Error when building new db using pg_restore