note 77347 added to function.pg-field-prtlen
| From: | djmaze at moocms | Date: | Sat, 25 Aug 2007 12:01:18 +0000 |
| Subject: | note 77347 added to function.pg-field-prtlen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129779@lists.php.net to get a copy of this message | ||
Or even easier to keep things simple on fetching
SELECT a.attname AS name, t.typname AS type, a.attstorage AS i,
CASE WHEN a.attlen = -1 THEN a.atttypmod ELSE a.attlen END AS size
FROM pg_attribute a , pg_class c, pg_type t
WHERE c.relname = 'moo_members'
AND a.attrelid = c.oid AND a.atttypid = t.oid and a.attnum > 0 and not a.attisdropped
----
Server IP: 83.137.20.107
Probable Submitter: 82.197.202.154
----
Manual Page -- http://www.php.net/manual/en/function.pg-field-prtlen.php
Edit -- https://master.php.net/note/edit/77347
Del: integrated -- https://master.php.net/note/delete/77347/integrated
Del: useless -- https://master.php.net/note/delete/77347/useless
Del: bad code -- https://master.php.net/note/delete/77347/bad+code
Del: spam -- https://master.php.net/note/delete/77347/spam
Del: non-english -- https://master.php.net/note/delete/77347/non-english
Del: in docs -- https://master.php.net/note/delete/77347/in+docs
Del: other reasons-- https://master.php.net/note/delete/77347
Reject -- https://master.php.net/note/reject/77347
Search -- https://master.php.net/manage/user-notes.php