Received: from pandora.chariot.net.au (mail.chariot.net.au [203.30.236.84]) by hub.org (8.9.3/8.9.3) with ESMTP id DAA71249 for ; Tue, 7 Sep 1999 03:25:02 -0400 (EDT) (envelope-from androc@chariot.net.au) Received: from chariot.net.au (mail.chariot.net.au [203.30.236.84]) by pandora.chariot.net.au (8.8.7/8.8.7) with SMTP id QAA18047 for ; Tue, 7 Sep 1999 16:57:17 +0930 From: "Andrew O'Callaghan" Sender: androc@chariot.net.au Reply-to: androc@chariot.net.au To: pgsql-interfaces@postgresql.org Date: Tue, 7 Sep 1999 07:27:17 GMT Subject: insert interface Message-id: <37d4be55.4679.0@chariot.net.au> X-User-Info: 143.216.161.83 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi! I am new to postgresql, and am trying to create an interface to the database so that I can insert records into a table from, say, a Tcl/Tk GUI. I am having trouble finding any examples where this has been done. Most interface examples are for extracting data from the database, ie. queries, but not for inserting it into the database. I found some docco about the copy command for bulk transactions, as well as the large-object interface using pgtcl, but am not sure if this is the right mechanism, since the amount of data I will be inserting is not great, or in bulk. Any help would be appreciated, or a pointer in the right direction of some more docco. regards, Andrew O'Callaghan