On Monday 02 March 2009, John R Pierce wrote:
> SHARMILA JOTHIRAJAH wrote:
> > Is it possible to sent this 'time' output to a file...
> > If I try
> > time cmd1 someargs1 | cmd2 someargs2 > output.log
> >
> > it doesn't sent the "time" to the file...
>
> time (cmd1 someargs1 | cmd2 someargs2) > ou
SHARMILA JOTHIRAJAH wrote:
Is it possible to sent this 'time' output to a file...
If I try
time cmd1 someargs1 | cmd2 someargs2 > output.log
it doesn't sent the "time" to the file...
time (cmd1 someargs1 | cmd2 someargs2) > output.log
the way you had it, it was only timing cmd1. with the
--- On Thu, 2/19/09, Erik Jones wrote:
> From: Erik Jones
> Subject: Re: [GENERAL] How to pipe the psql copy command to Unix 'Date'
> command
> To: "R Smith" <4otherbusin...@comcast.net>
> Cc: "General postgres mailing list"
> Date: T
On Feb 19, 2009, at 6:30 PM, R Smith wrote:
On Feb 19, 2009, at 11:07 AM, SHARMILA JOTHIRAJAH wrote:
Thanks all
-Sharmila
--- On Thu, 2/19/09, Erik Jones wrote:
From: Erik Jones
Subject: Re: [GENERAL] How to pipe the psql copy command to Unix
'Date' command
To: sharmi...
On Feb 19, 2009, at 11:07 AM, SHARMILA JOTHIRAJAH wrote:
Thanks all
-Sharmila
--- On Thu, 2/19/09, Erik Jones wrote:
From: Erik Jones
Subject: Re: [GENERAL] How to pipe the psql copy command to Unix
'Date' command
To: sharmi...@yahoo.com
Cc: "Tom Lane" , "Gene
Thanks all
-Sharmila
--- On Thu, 2/19/09, Erik Jones wrote:
> From: Erik Jones
> Subject: Re: [GENERAL] How to pipe the psql copy command to Unix 'Date'
> command
> To: sharmi...@yahoo.com
> Cc: "Tom Lane" , "General postgres mailing list"
&g
On Feb 19, 2009, at 9:40 AM, SHARMILA JOTHIRAJAH wrote:
--- On Thu, 2/19/09, Tom Lane wrote:
From: Tom Lane
Subject: Re: [GENERAL] How to pipe the psql copy command to Unix
'Date' command
To: sharmi...@yahoo.com
Cc: "General postgres mailing list"
Date: Thursday, F
--- On Thu, 2/19/09, Tom Lane wrote:
> From: Tom Lane
> Subject: Re: [GENERAL] How to pipe the psql copy command to Unix 'Date'
> command
> To: sharmi...@yahoo.com
> Cc: "General postgres mailing list"
> Date: Thursday, February 19, 2009, 12:31 PM
SHARMILA JOTHIRAJAH writes:
> Hi,
> I want to find the time taken by this process ...retrieving data from oracle
> database using java and copying that to postgres using copy.
> So I need something like this
> Start_Time|java testCode ...|psql -c "copy dummy from stdin with delimiter
> ',' null
Why not call a function that make an insert as "insert into dummy values
('Start',now())" ?
Mirko
On Thu, Feb 19, 2009 at 5:37 PM, SHARMILA JOTHIRAJAH wrote:
> Hi,
> I want to find the time taken by this process ...retrieving data from
> oracle database using java and copying that to postgres
Hi,
I want to find the time taken by this process ...retrieving data from oracle
database using java and copying that to postgres using copy.
So I need something like this
Start_Time|java testCode ...|psql -c "copy dummy from stdin with delimiter ','
null 'NULL'" test| End_time
so that the outp
11 matches
Mail list logo