note 57237 added to function.pg-query

From: Date: Tue, 27 Sep 2005 23:58:36 +0000
Subject: note 57237 added to function.pg-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-95903@lists.php.net to get a copy of this message
In reply to david dot bouriaud at ac-rouen dot fr: All it is doing is internal caching. How can that be dangerous. If you are going to be deleting records after you have closed the connection it is your problem to make sure you have the latest and greatest records, and not some cached ones. Considering you are writing the script I don't see why it is a problem, you know what you are doing in the script, so it is quite useless for PHP to invalidate the cache, when that could be done upon exiting the script, which would mean there was less time spent cleaning out the cache when it counts most (when returning data to the user). ---- Manual Page -- http://www.php.net/manual/en/function.pg-query.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57237 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57237&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57237&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57237&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57237&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57237&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57237&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57237&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57237&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#95903) next »