Search Postgresql Archives

Re: Exception Handling in C-Language Functions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



greg landrum <greg.landrum@xxxxxxxxx> writes:
> Tom Lane wrote:
>> text = DatumGetCString(DirectFunctionCall1(varcharout, text_datum));

> This form of dealing with arguments is interesting to learn about. Is 
> there any documentation of this stuff or do I need to dive into the source?

The original motivation for this notation is discussed in
src/backend/utils/fmgr/README, and there's some basic docs in the
main SGML documentation.  Beyond that, looking at code that does
something close to what you want has always been the best guide ...

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux