Re: Cannot COPY xmin?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Cannot COPY xmin?
Дата
Msg-id 202402271826.nyibacg4lzq3@alvherre.pgsql
обсуждение исходный текст
Ответ на Cannot COPY xmin?  (Dominique Devienne <ddevienne@gmail.com>)
Ответы Re: Cannot COPY xmin?
Список pgsql-general
On 2024-Feb-27, Dominique Devienne wrote:

> Hi. I just tried adding the xmin pseudo-column to my COPY,
> and I get an error.

I suggest you find some other way to achieve whatever it is you think
you'll achieve with this.  It's not reliable and you'll regret it
eventually.  Maybe take a step back and let us know why you want to copy
xmin in the first place?

> Do I need to switch to a `COPY (select xmin, cols... from tab) ...` to
> access xmin?

If your ultimate objective is to shoot your feet, then yes, this will
work.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



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

Предыдущее
От: Dominique Devienne
Дата:
Сообщение: Cannot COPY xmin?
Следующее
От: Dominique Devienne
Дата:
Сообщение: Re: Cannot COPY xmin?