| From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
|---|---|
| To: | Jaime Silvela <JSilvela(at)Bear(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org, erik(at)myemma(dot)com, r(dot)ted(dot)byers(at)rogers(dot)com |
| Subject: | Re: COPY to/from non-local file |
| Date: | 2007-06-27 19:25:48 |
| Message-ID: | 20070627192548.GE22179@svana.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Wed, Jun 27, 2007 at 02:54:05PM -0400, Jaime Silvela wrote:
> The problem is that the getline/readline interface, which does exist for
> Ruby, doesn't seem to work so well, and anyway operates line by line; I
> would have preferred to just hand a file descriptor and be done with it.
Hrm, in what sense doesn't it work well? Line-by-line means
record-by-record. And writing a function to take an fd and do the work
would be straightforward, or do you mean something else?
Do you have any suggestions for improvement?
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | CG | 2007-06-27 19:31:09 | Re: How do you handle shared memory corruption issues? (contrib/xml2) |
| Previous Message | Alvaro Herrera | 2007-06-27 19:25:22 | Re: timestamp wiht time zone |