[PHP-DEV] FRC: pg_metadata, pg_convert, pg_insert, etc

2002-04-10 Thread Yasuo Ohgaki
Hi to all database module maintainers, I've committed some new PostgreSQL functions and manual pages for these. pg_metadata() - get medata data pg_convert() - check and convert array accoding to metadata pg_insert()/update()/select()/delete() - does insert, etc by array. With the new function,

Re: [PHP-DEV] FRC: pg_metadata, pg_convert, pg_insert, etc

2002-04-10 Thread Markus Fischer
Can you elaborate more on the mystic 'metadata' and what it reallt means to the functions? On Wed, Apr 10, 2002 at 04:43:21PM +0900, Yasuo Ohgaki wrote : Hi to all database module maintainers, I've committed some new PostgreSQL functions and manual pages for these. pg_metadata()

Re: [PHP-DEV] FRC: pg_metadata, pg_convert, pg_insert, etc

2002-04-10 Thread Alan Knowles
sounds really nice.. would it be possible to accept objects as well as arrays? how does it know if the update column should be an integer or string - eg. '12' or 12 ? - is that what the meta data is for? regards alan Markus Fischer wrote: Can you elaborate more on the mystic 'metadata'

Re: [PHP-DEV] FRC: pg_metadata, pg_convert, pg_insert, etc

2002-04-10 Thread Yasuo Ohgaki
Markus Fischer wrote: Can you elaborate more on the mystic 'metadata' and what it reallt means to the functions? array pg_metadata(resource conn, string tablename); returns table definition stored in PostgreSQL system catlog. Returned array is array(3) { [num]= // field name