Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Дата
Msg-id Pine.LNX.4.44.0309271207180.11938-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)  (Oliver Elphick <olly@lfix.co.uk>)
Ответы Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Oliver Elphick writes:

> +    <para>
> +     With a large dump, it may be difficult to identify where any errors are
> +     occurring.  You may use the -e option to psql to print the SQL commands
> +     as they are run, so that it is easy to see precisely which commands are
> +     causing errors.
>      </para>

That is just not true.  If you use -f, it will tell you the line number of
the command causing the error.  Add the line number of the COPY error
message, there you have it.

-- 
Peter Eisentraut   peter_e@gmx.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: invalid tid errors in latest 7.3.4 stable.
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: 2-phase commit