pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rony khoury <rkhoury@apotres.edu.lb>
To: Hannu Krosing <hannu@trust.ee>
To: ron@cyberia.net.lb, "pgsql-novice@postgreSQL.org" <pgsql-novice@postgreSQL.org>
To: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Subject: Re: [NOVICE] Re: [INTERFACES] not permanent insert into stud values('myname')
Date: Wed, 29 Jul 1998 12:44:09 +0300
Message-ID: <35BEEEE9.620D75FE@apotres.edu.lb> (raw)
References: <35BECC00.1059EB7@cyberia.net.lb>
	<35BEE67E.6F93FC49@trust.ee>
	<35BEEC68.634C81EB@apotres.edu.lb>



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 .





view thread (5+ messages)  latest in thread

Message-ID: <35BEEEE9.620D75FE@apotres.edu.lb>
Permalink:  ../35BEEEE9.620D75FE@apotres.edu.lb/
Also on:    postgresql.org/message-id/35BEEEE9.620D75FE@apotres.edu.lb

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: rkhoury@apotres.edu.lb, hannu@trust.ee, pgsql-novice@postgreSQL.org
  Subject: Re: [NOVICE] Re: [INTERFACES] not permanent insert into stud values('myname')
  In-Reply-To: <35BEEEE9.620D75FE@apotres.edu.lb>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox