Skip site navigation (1) Skip section navigation (2)

Form to populate a pg table with data

From: Ennio-Sr <nasr(dot)laili(at)tin(dot)it>
To: pgsql-novice(at)postgresql(dot)org
Subject: Form to populate a pg table with data
Date: 2005-08-24 01:01:21
Message-ID: 20050824010121.GA13616@deby.ei.hnet (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Hi all,

I've just completed a (linux bash) script to insert data in a table in
an (almost) 'dummy proof' way, working from the console. 

I was fronted with quite a few difficulties (one for all: how to avoid
that integer fields got string input instead).

Just as a matter of curiosity, I would like to know if there is a
better way to do that.
Of course, I give it for granted that no graphic wrapper is being used
by 'gurus' :-)

Thaks for your attention.
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.   \\?//
 Fa' qualche cosa di cui non sei capace!"  (diceva Henry Miller) ]    (°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that.              )=(
 Do something you aren't good at!" (as Henry Miller used to say) ]

pgsql-novice by date

Next:From: Saranya SivakumarDate: 2005-08-24 13:39:41
Subject: function to escape single quotes
Previous:From: Philip HallstromDate: 2005-08-23 16:30:44
Subject: Re: New-B Question #2

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group