Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id E044447591F for ; Tue, 16 Jul 2002 03:28:05 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 7460C38243D; Tue, 16 Jul 2002 03:28:05 -0400 (EDT) From: Nikolay Hristov X-Newsgroups: comp.databases.postgresql.interfaces Subject: Embedded SQL in a function Date: Tue, 16 Jul 2002 10:28:36 +0300 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 15 Message-ID: <3D33CB24.30005@mail.vega.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: news@hub.org User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en To: pgsql-interfaces@postgresql.org X-Archive-Number: 200207/93 X-Sequence-Number: 2902 Hi, Is it possible to use embedded SQL in C function. I have tried application with embedded SQL and C functions separately and they worked just fine. When I tried to use embedded SQL in a function, the result is that the function generally works, but the embedded SQL statements do nothing. There ware no errors during preprocessing, compiling and linking. I was unable to find anything about that in the documentation. Thanks in advance.