Skip site navigation (1) Skip section navigation (2)

Re: [GENERAL] Shared Objects (Dynamic loading)

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Jasbinder Bali <jsbali(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [GENERAL] Shared Objects (Dynamic loading)
Date: 2006-08-29 02:19:15
Message-ID: 20060829021915.GA7368@winnie.fuhr.org (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-novice
On Mon, Aug 28, 2006 at 03:26:55PM -0400, Jasbinder Bali wrote:
> Do I include this Version 1 syntax in the .pgc file or C file that i get
> after doing ECPG to the .pgc file?

You shouldn't modify the .c file that ecpg generates; the .pgc file
is the source code.  However, as Martijn and I have pointed out,
you should probably be using SPI instead of ECPG.  And as Tom and
I have mentioned, you probably shouldn't be using C at all because
everything you've said you're doing would be easier in other languages
like PL/pgSQL and PL/Perl.

-- 
Michael Fuhr

In response to

Responses

pgsql-novice by date

Next:From: Jasbinder BaliDate: 2006-08-29 04:44:21
Subject: Re: [GENERAL] Shared Objects (Dynamic loading)
Previous:From: Bruno Wolff IIIDate: 2006-08-29 00:10:19
Subject: Re: Difference between char and varchar

pgsql-general by date

Next:From: CSNDate: 2006-08-29 02:25:25
Subject: Re: database files are incompatible with server, after computer restart
Previous:From: macgillivaryDate: 2006-08-29 02:13:41
Subject: Re: speeding up big query lookup

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group