Re: [HACKERS] char* to Datum conversion

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Alex Guryanow <gav(at)nlr(dot)ru>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] char* to Datum conversion
Date: 2000-09-19 08:11:56
Message-ID: Pine.LNX.3.96.1000919100819.2150A-100000@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


On Tue, 19 Sep 2000, Alex Guryanow wrote:

> Hi,
>
> How can I convert char* to Datum to pass a string to the SPI_modifytuple function?

A little explore src/include/utils/atd/builtins.h...
(charin(), textin() ...etc.)

Karel

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Tille 2000-09-19 08:17:39 Re: pgdump
Previous Message Zeljko Trogrlic 2000-09-19 07:56:11 Re: SQL-Error

Browse pgsql-hackers by date

  From Date Subject
Next Message John McKown 2000-09-19 10:44:00 Possible "enhancement"?
Previous Message Zeugswetter Andreas SB 2000-09-19 07:50:55 AW: AW: AW: "setuid" functions, a solution to the RI pr ivil ege problem