public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Shaozhong SHI <[email protected]>
Cc: pgsql-sql <[email protected]>
Subject: Re: How come column is locked?
Date: Tue, 04 Jul 2023 10:47:47 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+i5JwaZ5T1VSQ1GNPmx4DgYJcZpFwpfoAd0d+pG0XZgRuVi9w@mail.gmail.com>
References: <CA+i5JwaZ5T1VSQ1GNPmx4DgYJcZpFwpfoAd0d+pG0XZgRuVi9w@mail.gmail.com>

Shaozhong SHI <[email protected]> writes:
> I used
> create table if not exists waternetwork1.walknetwortt3 (fid integer[]);
> in do statement.

Perhaps the table already existed, with some other column list?

> When I use
> insert into waternetwork1.walknetwortt3 select fid from a function
> it failed.

"It failed" is totally inadequate as a description of the problem.
Did you read the error message?  What does it say, exactly?

			regards, tom lane





view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: How come column is locked?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox