Re: How come column is locked?

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: How come column is locked?
Дата
Msg-id 15c890f3-d5fb-c966-c248-0a5e8f03de62@gmail.com
обсуждение исходный текст
Ответ на Re: How come column is locked?  (Thomas Kellerer <shammat@gmx.net>)
Список pgsql-sql
On 7/4/23 12:39, Thomas Kellerer wrote:
Shaozhong SHI schrieb am 04.07.2023 um 16:59:
On Tue, 4 Jul 2023 at 15:43, Thomas Kellerer <shammat@gmx.net <mailto:shammat@gmx.net>> wrote:

    Shaozhong SHI schrieb am 04.07.2023 um 16:34:
     > I used
     >
     > create table if not exists waternetwork1.walknetwortt3 (fid integer[]);
     >
     > in do statement.
     >
     > When I use
     > insert into waternetwork1.walknetwortt3 select fid from a function
     >
     > it failed.

    What exactly is the error message you get?


     > The column is locked.

    There is no column level lock in Postgres.

    The smallest unit that can be locked is a row.




I see a pad lock on the column.  That is the only column.

There is no such thing as a "padlock" in Postgres.




GUI-speak for primary key, perhaps?

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: How come column is locked?
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: Working around insert into a_table from select things from a_function