<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Informacje na temat tabeli.]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=306&amp;type=atom"/>
	<updated>2009-10-03T18:31:20Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=306</id>
		<entry>
			<title type="html"><![CDATA[Odp: Informacje na temat tabeli.]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1356#p1356"/>
			<content type="html"><![CDATA[[code] \d[S+]  NAME           describe table, view, sequence, or index[/code]      

Ok dzięki za pomoc.]]></content>
			<author>
				<name><![CDATA[cykcykacz]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=950</uri>
			</author>
			<updated>2009-10-03T18:31:20Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1356#p1356</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Informacje na temat tabeli.]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1355#p1355"/>
			<content type="html"><![CDATA[Popatrz tu

[url]http://www.postgresql.org/docs/8.3/interactive/app-psql.html[/url]

Ewentualnie tu 

[url]http://www.postgresql.org/docs/current/static/information-schema.html[/url]]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-10-03T17:11:18Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1355#p1355</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Informacje na temat tabeli.]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1354#p1354"/>
			<content type="html"><![CDATA[mysql> describe tasks;
+---------+--------------+------+-----+---------+----------------+
| Field    | Type         | Null | Key | Default | Extra          |
+---------+--------------+------+-----+---------+----------------+
| task_id | int(11)      | NO   | PRI | NULL    | auto_increment |
| task      | varchar(100) | NO   |     | NULL    |                |
| rank      | int(11)      | YES  |     | NULL    |                |
+---------+--------------+------+-----+---------+----------------+
3 rows in set (0.20 sec)

Chodzi mi o taki wynik:).]]></content>
			<author>
				<name><![CDATA[cykcykacz]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=950</uri>
			</author>
			<updated>2009-10-03T17:01:05Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1354#p1354</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Informacje na temat tabeli.]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1353#p1353"/>
			<content type="html"><![CDATA[Jak uzywasz psql to mozesz wpisać
[code]
\dt nazwa_tabeli
[/code]

Ogólnie rzecz biorąc możesz skorzytsać ze schematu information_schema tam jest szereg tabel/widoków zawierających informacje o obiektach istniejacych w bazie.]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-10-03T16:45:16Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1353#p1353</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Informacje na temat tabeli.]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1352#p1352"/>
			<content type="html"><![CDATA[Witam, 
nie wiem jak wyświetlić informacje o tabeli? W MySQL była to komenda "describe nazwa tabelki".

W dokumentacji nie znalazłem, proszę o pomoc.]]></content>
			<author>
				<name><![CDATA[cykcykacz]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=950</uri>
			</author>
			<updated>2009-10-03T14:32:20Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1352#p1352</id>
		</entry>
</feed>
