Thread: crash on \copy

crash on \copy

From
Louis-David Mitterrand
Date:
Is this a known problem?

    template1=> \copy
    psql: xstrdup: cannot duplicate null pointer (internal error)
    styx:~%

using PG 7.0-beta5 on Linux

--
Louis-David Mitterrand - ldm@apartia.org - http://www.apartia.fr

Re: crash on \copy

From
Peter Eisentraut
Date:
Louis-David Mitterrand writes:

> Is this a known problem?

Yes. Use the final release.

>
>     template1=> \copy
>     psql: xstrdup: cannot duplicate null pointer (internal error)
>     styx:~%
>
> using PG 7.0-beta5 on Linux
>
>

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


Re: crash on \copy

From
Tom Lane
Date:
Louis-David Mitterrand <cunctator@apartia.ch> writes:
> Is this a known problem?
>     template1=> \copy
>     psql: xstrdup: cannot duplicate null pointer (internal error)
>     styx:~%

> using PG 7.0-beta5 on Linux
        ^^^^^^^^^^^^

Seems to be fixed in 7.0 release:

regression=# \copy
\copy: arguments required

            regards, tom lane