Re: Help : Microsoft SQL Server equivalents in - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Help : Microsoft SQL Server equivalents in
Date
Msg-id 200701201652.l0KGqSl20302@momjian.us
Whole thread Raw
In response to Re: Help : Microsoft SQL Server equivalents in  (Ron Johnson <ron.l.johnson@cox.net>)
Responses Re: Help : Microsoft SQL Server equivalents in  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Help : Microsoft SQL Server equivalents in  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
Ron Johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/19/07 18:21, Bruce Momjian wrote:
> > Sorry, I know of no way to get a status bar that shows how far the an
> > INSERT or COPY has progressed.  People have asked for it, but no one has
> > any idea how to implement it.
>
> How hard *would* it be to patch the \copy code to print out a "#"
> every N number of input records?
>
> Or is it "just" a matter of someone with a sufficient itch sending
> in a relatively simple patch?

Yea, probably, but considering they probably want a graphic progress
bar, the big question is what API would you use to allow flexible use of
that feature.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Help : Microsoft SQL Server equivalents in
Next
From: Tom Lane
Date:
Subject: Re: Help : Microsoft SQL Server equivalents in