Autor: roy_ (---.lupus.pl)
Data: 22.11.00 12:29
pg_FieldType
pg_FieldType -- Returns the type name for the corresponding field number
Description
int pg_fieldtype(int result_id, int field_number);
pg_FieldType() will return a string containing the type name of the given field in the given PostgreSQL result identifier. Field numbering starts at 0.
W zastosowaniu to tak:
echo pg_fieldtype($wynik,1);
Wynik:
int4
Mozna rownierz ustawic przy starcie postgresa opcje debagowania na ktorys tam poziom.
wykonac
\d nazwa_tabeli
i zobaczyc w logach jakie zapytanie wykonal serwer. To jak sie chce kozakowac ??
Best Regards
|
|