PHP will close the connection at the end of the script.  I always call
pg_close() when I'm done accessing the db. If your script is short and
quick, then it should not be a problem.  If it does some more processing
on the data after you finished with the connection, why keep it open?

|On 020206 13:11
|Felipe Nascimento ([EMAIL PROTECTED]) wrote the following...
|
|Do I have to call pg_close() every time at the end of the script??
|
|Tks 
|Felipe
|
-- 
BOFH Reason of the day: backup tape overwritten with copy of system manager's 
favourite CD
                                               _   |       _           
                                              (_()(|('.|)('||.|()|`|(

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to