Re: [NOVICE] Re: [INTERFACES] not permanent insert into stud values('myname')

From: "rony khoury" <rkhoury(at)apotres(dot)edu(dot)lb>
To: Hannu Krosing <hannu(at)trust(dot)ee>, ron(at)cyberia(dot)net(dot)lb, "pgsql-novice(at)postgreSQL(dot)org" <pgsql-novice(at)postgreSQL(dot)org>, "pgsql-interfaces(at)postgreSQL(dot)org" <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [NOVICE] Re: [INTERFACES] not permanent insert into stud values('myname')
Date: 1998-07-29 09:44:09
Message-ID: 35BEEEE9.620D75FE@apotres.edu.lb
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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 .

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message James Olin Oden 1998-07-29 11:56:23 Re: [NOVICE] not permanent insert into stud values('myname')
Previous Message rony khoury 1998-07-29 09:33:28 Re: [INTERFACES] not permanent insert into stud values('myname')