| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | CSN | 2006-08-29 02:25:25 | Re: database files are incompatible with server, after computer restart |
| Previous Message | macgillivary | 2006-08-29 02:13:41 | Re: speeding up big query lookup |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jasbinder Bali | 2006-08-29 04:44:21 | Re: [GENERAL] Shared Objects (Dynamic loading) |
| Previous Message | Bruno Wolff III | 2006-08-29 00:10:19 | Re: Difference between char and varchar |