![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
postgresql
文章平均质量分 77
KallimaInach
这个作者很懒,什么都没留下…
展开
-
PostgresSQL数据库函数
该函数要完成的功能:根据传入的六个参数去判断组成一个sql字符串,在已查询出来的结果里循环拿到最终的结果,输出out参数定义的值得集合。CREATE OR REPLACE FUNCTION get_dynstore( IN stock_id integer, -- 仓库ID IN product_code character varying, --产品编码原创 2016-02-01 15:53:32 · 1534 阅读 · 0 评论 -
Postgresql数据库相关权限设置问题
往postgresql 数据库写入数据的时候,报1、WARNING:flask_appbuilder.models.sqla.interface:Add record integrity error: (psycopg2.IntegrityError) duplicate key value violates unique constraint “lab_pkey” DETAIL: Key (i...原创 2019-09-18 15:05:05 · 9166 阅读 · 0 评论