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.dhaliwal01@xxxxxxxxx>: > 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 > ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org/