pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Enrique Rodriguez Lazaro <enrique@xpress.es>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Ghost insert
Date: Thu, 23 Dec 1999 10:15:55 -0500
Message-ID: <6385.945962155@sss.pgh.pa.us> (raw)
In-Reply-To: <3861E550.8ED9448@xpress.es>
References: <3861E550.8ED9448@xpress.es>

Enrique Rodriguez Lazaro <enrique@xpress.es> writes:
>  I can't do a simple 'insert' from libpq.

Perhaps you did a "BEGIN" and haven't yet done a "COMMIT"?
The result of your insert (or any other data update command)
won't be visible to other clients until and unless you commit it.

However, if you haven't issued a BEGIN then the default behavior
is to auto-commit after every successful command, so I'm not sure
that's the right answer...

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <6385.945962155@sss.pgh.pa.us>
Permalink:  ../6385.945962155@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6385.945962155@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, enrique@xpress.es
  Subject: Re: [INTERFACES] Ghost insert
  In-Reply-To: <6385.945962155@sss.pgh.pa.us>

* 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