Hey, I have spend the last several days looking for a website or how to that would show me how to call postgresql in bash script. I know that in mysql I can do like this for i in `cat myfile.txt` ; do mysql -uxxx -pxxxx -Asse mydatabase "insert into mytable (aaa,bbb) values ("xxx", "yyy");" I have tried to do what with pgsql and it not working. I have looked at my two books I have and they are very limited. Can some what tell if postgre has flag like -Asse? Or show me a simple script they have do that is kinda like above. Thanks, Payne ---------------------------------------------------- www.britishscifiexchange.com www.magigames.net
- [GENERAL] Need help with bash script and postgresql Chuck Payne
- Re: [GENERAL] Need help with bash script and postgr... Andy Dale
- Re: [GENERAL] Need help with bash script and po... Raymond O'Donnell
- Re: [GENERAL] Need help with bash script an... [EMAIL PROTECTED]
- Re: [GENERAL] Need help with bash script and postgr... Ow Mun Heng
- Re: [GENERAL] Need help with bash script and postgr... Pavel Stehule
- Re: [GENERAL] Need help with bash script and po... Perry Smith
- Re: [GENERAL] Need help with bash script an... Raymond O'Donnell
- Re: [GENERAL] Need help with bash scrip... Perry Smith
- Re: [GENERAL] Need help with bash ... Raymond O'Donnell
- Re: {Spam} [GENERAL] Need help with bash script and... Dimitri Fontaine