pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
small spi patch
2+ messages / 2 participants
[nested] [flat]

* small spi patch
@ 2007-08-24 03:25 Euler Taveira de Oliveira <euler@timbira.com>
  2007-09-14 04:18 ` Re: small spi patch Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Euler Taveira de Oliveira @ 2007-08-24 03:25 UTC (permalink / raw)
  To: pgsql-docs

Hi,

This is small patch fixes a spi example (PG_MODULE_MAGIC is required as
of PostgreSQL 8.2) and provides a link to compiling and linking section.


-- 
  Euler Taveira de Oliveira
  http://www.timbira.com/

Attachments:

spi.diff (text/x-patch, 771B) download *** spi.sgml.orig 2007-08-23 23:57:09.000000000 -0300 --- spi.sgml 2007-08-24 00:06:37.000000000 -0300 *************** *** 3325,3330 **** --- 3325,3334 ---- <programlisting> #include "executor/spi.h" + #ifdef PG_MODULE_MAGIC + PG_MODULE_MAGIC; + #endif + int execq(text *sql, int cnt); int *************** *** 3380,3386 **** <para> This is how you declare the function after having compiled it into ! a shared library: <programlisting> CREATE FUNCTION execq(text, integer) RETURNS integer --- 3384,3390 ---- <para> This is how you declare the function after having compiled it into ! a shared library (details are in <xref linkend="dfunc">.): <programlisting> CREATE FUNCTION execq(text, integer) RETURNS integer
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: small spi patch
  2007-08-24 03:25 small spi patch Euler Taveira de Oliveira <euler@timbira.com>
@ 2007-09-14 04:18 ` Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2007-09-14 04:18 UTC (permalink / raw)
  To: Euler Taveira de Oliveira <euler@timbira.com>; +Cc: pgsql-docs


Patch applied.  Thanks.

---------------------------------------------------------------------------


Euler Taveira de Oliveira wrote:
> Hi,
> 
> This is small patch fixes a spi example (PG_MODULE_MAGIC is required as
> of PostgreSQL 8.2) and provides a link to compiling and linking section.
> 
> 
> -- 
>   Euler Taveira de Oliveira
>   http://www.timbira.com/


> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org

-- 
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-09-14 04:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-08-24 03:25 small spi patch Euler Taveira de Oliveira <euler@timbira.com>
2007-09-14 04:18 ` Bruce Momjian <bruce@momjian.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox