<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Funkcje w C i dostęp do tabel BD? Jak]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=400&amp;type=atom"/>
	<updated>2010-02-15T14:07:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=400</id>
		<entry>
			<title type="html"><![CDATA[Funkcje w C i dostęp do tabel BD? Jak]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1841#p1841"/>
			<content type="html"><![CDATA[Witam,

Jak można pobrać wartości przechowywane w tabeli wewnątrz funkcji napisanej w języku C i podlinkowanej do działającej instancji postgresa?

Tabela jest zadeklarowana tak:
[code]
Create table ss(
id serial primary key,
a int
) WITH OIDS;
[/code]

Następnie piszę funkcję w języku C i linkuję ją do instancji Postgresa. W tej funkcji chce uzyskać informacje z tabeli ss i przetworzyć ją dalej;

Jakieś pomysły?]]></content>
			<author>
				<name><![CDATA[finni]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=946</uri>
			</author>
			<updated>2010-02-15T14:07:39Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1841#p1841</id>
		</entry>
</feed>
