Postgresql commonly used command line operations_and problems when Navicat operates PostGis_automatically intercept length_WKB structure does not match exp---PostgreSQL work notes 005

 Sometimes when using tools, there will always be problems with tools, such as inexplicable limit field length...

I used Navicat to operate, and I found this kind of problem. Finally, after many confirmations, it is indeed a tool problem.

Let me talk about the problem first:

Here I use the 15.0.23 version

 

After creating a database with postgis function, and then found a piece of geometry data, directly 

If you paste in this place, you will find that an error will be reported as soon as you paste:

Says WKB structure does not match expected size

You can see this error, but in fact, if you insert it through the sql of insert, there is no problem, you can insert it, but if

If you query it again through Navicat, you will find that the length of the field is reduced and the content is also reduced. The reason is that Navicat automatically intercepts a part, which is too much. But in fact, if you use it, dump the sql and give the table content to If you export it, you will find that the content of the data is normal without any problems.

Therefore, you can use sql to operate when operating..

#只指

Guess you like

Origin blog.csdn.net/lidew521/article/details/131916749