Received: from aserver.apotres.edu.lb ([194.126.24.131]) by hub.org (8.8.8/8.7.5) with ESMTP id FAA15943; Wed, 29 Jul 1998 05:40:19 -0400 (EDT) Received: from apotres.edu.lb ([194.126.24.132]) by aserver.apotres.edu.lb (Netscape Messaging Server 3.01) with ESMTP id 167; Wed, 29 Jul 1998 12:35:28 +0100 Message-ID: <35BEEEE9.620D75FE@apotres.edu.lb> Date: Wed, 29 Jul 1998 12:44:09 +0300 From: "rony khoury" Reply-To: rkhoury@apotres.edu.lb X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Hannu Krosing , ron@cyberia.net.lb, "pgsql-novice@postgreSQL.org" , "pgsql-interfaces@postgreSQL.org" Subject: Re: [NOVICE] Re: [INTERFACES] not permanent insert into stud values('myname') References: <35BECC00.1059EB7@cyberia.net.lb> <35BEE67E.6F93FC49@trust.ee> <35BEEC68.634C81EB@apotres.edu.lb> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit rony khoury wrote: > Hannu Krosing wrote: > > > rony khoury wrote: > > > > > > > > > > > > Hello , > > > > > > following is a part of my code , can any body tell me why it works > > > fine , > > > > It should work fine ;) > > > > > but 'myname' does not remain permanent in the table although I'm > > > loging in as postgres > > > and see 'myname' in the result when I run the program ? > > > > You probably start a transaction, but never commit it (in some other > > part of your code) > > > > Hannu > > no it does not work fine or else I wouldn't have asked . > What do you mean I should commit it in some other part of my code ? how > to do that ? > > rony . ok it works fine for me now , I just needed to add an PQexec(conn,"END"); now that it works , it was a silly question , sorry for the trouble . thanks again , Rony .