pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SQL Query Results
3+ messages / 3 participants
[nested] [flat]

* SQL Query Results
@ 2001-01-24 05:02  <No Name> <bobmarley4u2c@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: " @ 2001-01-24 05:02 UTC (permalink / raw)
  To: pgsql-sql

I want to show a certain person the commands I type and the query results,
and I want to save them in a file. I tried \e filename and \E filename and
its not working. Can someone please help me??







^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* RE: SQL Query Results
@ 2001-01-24 15:49  Michael Davis <mdavis@sevainc.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Davis @ 2001-01-24 15:49 UTC (permalink / raw)
  To: "' <No Name>; '" <bobmarley4u2c@yahoo.com>; pgsql-sql

In psql you can try \g or \o.  

-----Original Message-----
From:	<No Name> [SMTP:bobmarley4u2c@yahoo.com]
Sent:	Tuesday, January 23, 2001 10:03 PM
To:	pgsql-sql@postgresql.org
Subject:	SQL Query Results

I want to show a certain person the commands I type and the query results,
and I want to save them in a file. I tried \e filename and \E filename and
its not working. Can someone please help me??








^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: SQL Query Results
@ 2001-01-25 05:37  Christopher Sawtell <csawtell@xtra.co.nz>
  parent: <No Name> <bobmarley4u2c@yahoo.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Christopher Sawtell @ 2001-01-25 05:37 UTC (permalink / raw)
  To: " <No Name>; " <bobmarley4u2c@yahoo.com>; pgsql-sql

On Wed, 24 Jan 2001 18:02,  wrote:
> I want to show a certain person the commands I type and the query results,
> and I want to save them in a file. I tried \e filename and \E filename and
> its not working. Can someone please help me??

I don't know if this is available on your particular machine but you could try
using the 'script' command just before you start psql. When you have done 
that which you wish the "certain person" to see, exit psql in the normal way 
with a '\q', and then exit the script command with an 'exit'

man script

for the full details.

have fun.

-- 
Sincerely etc.,

 NAME       Christopher Sawtell
 CELL PHONE 021 257 4451
 ICQ UIN    45863470
 EMAIL      csawtell @ xtra . co . nz
 CNOTES     ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz

 -->> Please refrain from using HTML or WORD attachments in e-mails to me <<--




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-01-25 05:37 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24 05:02 SQL Query Results <No Name> <bobmarley4u2c@yahoo.com>
2001-01-25 05:37 ` Christopher Sawtell <csawtell@xtra.co.nz>
2001-01-24 15:49 RE: SQL Query Results Michael Davis <mdavis@sevainc.com>

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