摘要: 8.4:http://www.postgresql.org/docs/8.4/interactive/index.html8.3:http://www.postgresql.org/docs/8.3/static/index.html所有文檔列表:http://www.postgresql.org/docs/manuals/ 阅读全文
posted @ 2011-08-16 14:41 Yaoquan.Luo 阅读(123) 评论(0) 推荐(0)
摘要: from:http://www.postgresql.org/docs/8.4/interactive/sql-savepoint.htmlSAVEPOINTNameSAVEPOINT -- define a new savepoint within the current transactionSynopsisSAVEPOINT savepoint_nameDescriptionSAVEPOINT establishes a new savepoint within the current transaction.A savepoint is a special mark inside a 阅读全文
posted @ 2011-08-16 14:39 Yaoquan.Luo 阅读(268) 评论(0) 推荐(0)
摘要: postgresql在function不能用start transaction, commit 或rollback 因为它已经设定:所有的function里的语句只能含在一个transaction之中。也必然在一个transaction之中。 它是含在调用function语句的transaction之中。 所以不用写start transaction 就能满足你的要求===================================from:http://stackoverflow.com/questions/2422205/postgresql-rolling-back-a-transa 阅读全文
posted @ 2011-08-16 14:37 Yaoquan.Luo 阅读(522) 评论(0) 推荐(0)
摘要: from:http://www.postgresql.org/docs/8.4/static/sql-select.html#SQL-FOR-UPDATE-SHARE FOR UPDATE causes the rows retrieved by the SELECT statement to be locked as though for update. This prevents them from being modified or deleted by other transactions until the current transaction ends. That is, oth 阅读全文
posted @ 2011-08-16 14:03 Yaoquan.Luo 阅读(387) 评论(0) 推荐(0)
摘要: 來源:http://smartsoft.5d6d.com/thread-6860-1-1.html相对同时刚出校门同学从事其它行业而言优厚的薪水,以及不断学习更新的专业知识不仅仅让你感到生活的充实,更满足了你那不让外人知的虚荣心。在刚出校门的几年中,你经常回头看看被你落在后面的同学们,在内心怜悯他们的同时,你也会对自已天天加班的努力工作感到心里平衡:“有付出才会有回报”这句话在那几年中你说的最多,不管是对自已的朋友们还是自已的爱人。第二句最常说的话是对公司的领导:“不行我就走人!”,实际上你也真的走过几回。对了,在这几年中,因为你的经济条件不错,你开始买房、开始谈恋爱、结婚、开始有了自已的小孩 阅读全文
posted @ 2011-08-16 10:12 Yaoquan.Luo 阅读(226) 评论(0) 推荐(0)