You can get some possibly more useful information with the query:
SELECT table_name, column_name, data_type, character_maximum_length FROM information_schema.columns WHERE table_name='tablename';
![]() |
|
||||||||||
|
pg_meta_dataОписаниеarray pg_meta_data ( resource connection, string table_name )pg_meta_data() returns table definition for table_name as an array.
Список параметров
Примеры
pg_meta_data
yarnofmoo at gmail dot com
27-Jun-2007 08:32
You can get some possibly more useful information with the query:
rburghol at vt dot edu
24-Jun-2005 06:37
When querying on meta data from a temp table, the meta data seems to persist even if a fresh connection is established, where the temp table no longer exists.
dmiller at NOSPAM dot judcom dot nsw dot gov dot au
18-Jun-2003 01:31
This function seems to be case-sensitive on tablename (php-4.3.1) |