<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Forum PostgreSQL - wyswietlanie zaleznosci]]></title>
		<link>https://forum.postgresql.org.pl/viewtopic.php?id=425</link>
		<description><![CDATA[Najświeższe odpowiedzi w wyswietlanie zaleznosci.]]></description>
		<lastBuildDate>Tue, 13 Apr 2010 11:57:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Odp: wyswietlanie zaleznosci]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=1959#p1959</link>
			<description><![CDATA[[quote=rski]W sumie nie napisales jakie informacje chcesz wyciągnąc więc to pierwsza propozycja.
[code]
select * from information_schema.key_column_usage t1, (select * from information_schema.referential_constraints where unique_constraint_name in (select constraint_name from information_schema.table_constraints where constraint_type in 
('PRIMARY KEY','UNIQUE') and table_name in ('c'))) t2 where t1.constraint_name=t2.constraint_name;
[/code]
Tu znajdziesz duzo przydatnych tabel/widokow do 'wyciagania' z bazy podobnych informacji
[url]http://www.postgresql.org/docs/current/static/information-schema.html[/url][/quote]

Dzieki, wlasnie o to mi chodzilo]]></description>
			<author><![CDATA[dummy@example.com (6nom)]]></author>
			<pubDate>Tue, 13 Apr 2010 11:57:58 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=1959#p1959</guid>
		</item>
		<item>
			<title><![CDATA[Odp: wyswietlanie zaleznosci]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=1958#p1958</link>
			<description><![CDATA[W sumie nie napisales jakie informacje chcesz wyciągnąc więc to pierwsza propozycja.
[code]
select * from information_schema.key_column_usage t1, (select * from information_schema.referential_constraints where unique_constraint_name in (select constraint_name from information_schema.table_constraints where constraint_type in 
('PRIMARY KEY','UNIQUE') and table_name in ('c'))) t2 where t1.constraint_name=t2.constraint_name;
[/code]
Tu znajdziesz duzo przydatnych tabel/widokow do 'wyciagania' z bazy podobnych informacji
[url]http://www.postgresql.org/docs/current/static/information-schema.html[/url]]]></description>
			<author><![CDATA[dummy@example.com (rski)]]></author>
			<pubDate>Tue, 13 Apr 2010 10:20:37 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=1958#p1958</guid>
		</item>
		<item>
			<title><![CDATA[wyswietlanie zaleznosci]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=1957#p1957</link>
			<description><![CDATA[Czy istnieje mozliwosc wyswietlenia powiazan z dana tabela za pomoca polecenie sql? Jesli mamy np. tabele A, B i C z czego tabele A i B posiadaja klucze obce wskazujace na tabele C, to jak wyswietlic powiazania do tabeli C?]]></description>
			<author><![CDATA[dummy@example.com (6nom)]]></author>
			<pubDate>Tue, 13 Apr 2010 09:51:16 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=1957#p1957</guid>
		</item>
	</channel>
</rss>
