pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: XIE, Rong <rong.xie@stud.tu-muenchen.de>
To: "Undisclosed-Recipient:;"@postgresql.org
Subject: help me!!
Date: Wed, 12 Feb 2003 11:41:44 +0100
Message-ID: <000801c2d283$564c39a0$d2e0f48a@ips64m> (raw)

Hello, 

My name is rong xie. I am a Student at TU-Munich.
I have a question to Postgresql an Linux. 
e.g:
for IBM DB2: I can write a test.sql file.

--test.sql
connect to database1;
set schema xie;
select * from table1;
insert table1 value('rong','xie',22);
select * from table1;
terminate;

Then I can execute the file "test.sql" in terminal.
db2 -tvf test.sql

In mysql: I can execute it so.
mysql > test.sql

How can I execute it in Postgresql?
is there similar command in linux for Postgresql?

Thank you very mach!

Best wish!

rong xie 

view thread (2+ messages)  latest in thread

Message-ID: <000801c2d283$564c39a0$d2e0f48a@ips64m>
Permalink:  ../000801c2d283$564c39a0$d2e0f48a@ips64m/
Also on:    postgresql.org/message-id/000801c2d283$564c39a0$d2e0f48a@ips64m

 · 

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-docs@postgresql.org
  Cc: rong.xie@stud.tu-muenchen.de, "Undisclosed-Recipient:;"@postgresql.org
  Subject: Re: help me!!
  In-Reply-To: <000801c2d283$564c39a0$d2e0f48a@ips64m>

* 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