[HACKERS] how to get the effected row after execute a query

2011-08-19 Thread EazonGuo
Hello, I have a question. In SQL Server, we can use @@rowcount to get the efftected row which record last query 's effected row .So I have a question: In Postgresql, how we can get the effected row? Is there some similar functions to complete this? -- Best regards Eazon

[HACKERS] How to define global variable in postgresql

2011-08-19 Thread EazonGuo
Hello. How can we define a global variable in postgresql? -- Best regards Eazon