note 51251 added to function.pg-field-type-oid
| From: | mauroi at digbang dot com | Date: | Thu, 24 Mar 2005 15:55:32 +0000 |
| Subject: | note 51251 added to function.pg-field-type-oid | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86893@lists.php.net to get a copy of this message | ||
This function can be used to improve the performance of your application.
pg_field_type() makes an internal query to the pg_type table and it can be really slow.
So if your application previously know the oids of your database, you can save the execution time of
this query in every request.
----
Manual Page -- http://www.php.net/manual/en/function.pg-field-type-oid.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51251
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51251&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51251&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51251&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51251&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51251&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51251&report=yes
Search -- http://master.php.net/manage/user-notes.php