Re: Embedding code in Postgres source code

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Harpreet Dhaliwal" <harpreet(dot)dhaliwal01(at)gmail(dot)com>
Cc: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Embedding code in Postgres source code
Date: 2007-10-07 18:01:58
Message-ID: 162867790710071101u3c2d2c9fi23ac6be6930c9265@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2007/10/7, Harpreet Dhaliwal <harpreet(dot)dhaliwal01(at)gmail(dot)com>:
> My stored procedure is in Perl. Does that really make any difference ?
>
It depends. If you call external libraries you can be little bit
faster. You have to test it.

Pavel

> On 10/7/07, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com > wrote:
> > Hello
> >
> > If your stored procedure is writen in C language, then storing it
> > inside PostgreSQL hasn't any benefit. There is only one difference ..
> > loading library needs some time, but you can load any library with
> > statement LOAD.
> >
> > Regards
> > Pavel Stehule
> >
> >
> >
> >
> >
> > 2007/10/7, Harpreet Dhaliwal <harpreet(dot)dhaliwal01(at)gmail(dot)com>:
> > > Hi,
> > >
> > > I have a stored procedure that gets called every now and then in my
> system.
> > > This stored procedure is an implementation of client socket code
> basically.
> > >
> > > If somehow this stored procedure becomes a part of Postgres source code,
> > > would it really make any difference as far as performance and resource
> > > utilization of my system is concerned ?
> > >
> > > Thanks,
> > > Hapreet
> > >
> >
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harpreet Dhaliwal 2007-10-07 18:03:45 Re: Embedding code in Postgres source code
Previous Message Michael Vodep 2007-10-07 18:00:45 German soundex