Re: type of a field - Mailing list pgsql-php

From Duncan Adams (DNS)
Subject Re: type of a field
Date
Msg-id 7DD34E6DF5CD1B4283DDAB96A855DCED2F329F@vodabemail1.vodacom.co.za
Whole thread Raw
In response to type of a field  (ameen eetemadi <ameen78101@yahoo.com>)
List pgsql-php
Would pg_fieldname() and pg_fieldtype() also be an option?

-----Original Message-----
From: Josh Berkus [mailto:josh@agliodbs.com]
Sent: Thursday, May 02, 2002 6:49 PM
To: ameen eetemadi; pgsql-php@postgresql.org
Subject: Re: [PHP] type of a field


Ameen,

> I want to know the type of a field in a table
> how can I khow it ?

Way #1:
1. Log into to your database using the command line utility PSQL.
2. Type "\d <name of table>"

Way #2:
1. Install phpPgAdmin database administration tool.
2. Examine the table using phpPgAdmin.

-Josh

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

pgsql-php by date:

Previous
From: Chris
Date:
Subject: Re: boolean error
Next
From: "P. Jourdan"
Date:
Subject: Re: boolean error