<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - tablica booli jako parametr funkcji]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=386&amp;type=atom"/>
	<updated>2010-01-29T08:30:43Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=386</id>
		<entry>
			<title type="html"><![CDATA[Odp: tablica booli jako parametr funkcji]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1767#p1767"/>
			<content type="html"><![CDATA[[quote=rski]tak
[code]
select * from my_fun(1, 2, ARRAY[true, true, false]);
[/code]
lub tak
[code]
select my_fun(1, 2, ARRAY[true, true, false]);
[/code]
w zależności od tego co funkcja zwraca[/quote]

jednak działa doskonale! :)
dziękuję!]]></content>
			<author>
				<name><![CDATA[roofoos]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=816</uri>
			</author>
			<updated>2010-01-29T08:30:43Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1767#p1767</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: tablica booli jako parametr funkcji]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1763#p1763"/>
			<content type="html"><![CDATA[tak
[code]
select * from my_fun(1, 2, ARRAY[true, true, false]);
[/code]
lub tak
[code]
select my_fun(1, 2, ARRAY[true, true, false]);
[/code]
w zależności od tego co funkcja zwraca]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-01-28T16:01:04Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1763#p1763</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[tablica booli jako parametr funkcji]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1762#p1762"/>
			<content type="html"><![CDATA[Witam kolegów i koleżanki
Mam definicję funkcji, w której jeden z paramterów to tablica wartości true-false: boolean[]
my_fun(integer, integer, boolean[])

chciałbym to przetestować ale no nie potrafię podać prawidłowej formy tej tablicy

select * from my_fun(1, 2, '{true, true, false}');

Jak to zrobić poprawnie?]]></content>
			<author>
				<name><![CDATA[roofoos]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=816</uri>
			</author>
			<updated>2010-01-28T14:57:50Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1762#p1762</id>
		</entry>
</feed>
