<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Forum PostgreSQL - [ERROR] could not open server file]]></title>
		<link>https://forum.postgresql.org.pl/viewtopic.php?id=1920</link>
		<description><![CDATA[Najświeższe odpowiedzi w [ERROR] could not open server file.]]></description>
		<lastBuildDate>Sun, 08 Dec 2013 22:36:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4870#p4870</link>
			<description><![CDATA[To działa! Dzięki wielkie za pomoc!]]></description>
			<author><![CDATA[dummy@example.com (bodrek)]]></author>
			<pubDate>Sun, 08 Dec 2013 22:36:32 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4870#p4870</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4869#p4869</link>
			<description><![CDATA[To ewidentnie brak uprawnień do pliku lub katalogu. Prawdopodobnie serwer PHP działa z innymi uprawnieniami niż postgres, a ponieważ to on wgrywa plik do katalogu to postgres nie ma do niego dostępu. Wgraj jakiś plik ręcznie i sprawdź czy się załaduje, w Panelu sterowania (usługi)  sprawdź na jakim koncie działa serwer www i popraw uprawnienia do katalogu files.]]></description>
			<author><![CDATA[dummy@example.com (c_michal)]]></author>
			<pubDate>Sun, 08 Dec 2013 22:30:54 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4869#p4869</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4868#p4868</link>
			<description><![CDATA[ERROR: could not open server file "files/images (2).jpg": Permission denied
SQL state: 42501

Trochę bardziej rozbuduję wątek:
Napisałem w php prostu uploader do plików - gdzie wybieram sobie plik, który mi przenosi własnie do tego katalogu - w tym wypadku teraz files. I to działa. W momencie, kiedy wybieram plik - który został przeniesiony postgres odmawia mi dostępu do tego pliku.]]></description>
			<author><![CDATA[dummy@example.com (bodrek)]]></author>
			<pubDate>Sun, 08 Dec 2013 22:24:44 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4868#p4868</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4867#p4867</link>
			<description><![CDATA[wykonaj
insert into "Pliki danych" values ('25','images (2).jpg','C:/Program Files/PostgreSQL/9.3/data/files/','2',lo_import('files/images (2).jpg'))

zmien tylko ID]]></description>
			<author><![CDATA[dummy@example.com (c_michal)]]></author>
			<pubDate>Sun, 08 Dec 2013 22:15:22 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4867#p4867</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4866#p4866</link>
			<description><![CDATA[Tak: Query returned successfully: one row affected, 10 ms execution time.

Zacząłem grzebać z prawami plików - tzn. jak udostępniłem ten folder z plikami w sieci - to polecenie działa mi dla plików, ktore były udostępnione razem z folderem.W momencie gdy wklejam nowy plik do tego folderu, on nie dziedziczy tego udostępniania i postgres odmawia mi dostępu do pliku.]]></description>
			<author><![CDATA[dummy@example.com (bodrek)]]></author>
			<pubDate>Sun, 08 Dec 2013 22:14:15 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4866#p4866</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4865#p4865</link>
			<description><![CDATA[a czy działa ci polecenie
insert into "Pliki danych" values ('25','images (2).jpg','C:/Program Files/PostgreSQL/9.3/data/files/','2',lo_import('pg_version'));?]]></description>
			<author><![CDATA[dummy@example.com (c_michal)]]></author>
			<pubDate>Sun, 08 Dec 2013 22:10:29 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4865#p4865</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4864#p4864</link>
			<description><![CDATA[Chcę uploadować plik do bazy danych z polecenia lo_import()
a dokładniej próbuję wykonać komendę:

insert into "Pliki danych" values ('25','images (2).jpg','C:/Program Files/PostgreSQL/9.3/data/files/','2',lo_import('C:/Program Files/PostgreSQL/9.3/data/files/images (2).jpg'))]]></description>
			<author><![CDATA[dummy@example.com (bodrek)]]></author>
			<pubDate>Sun, 08 Dec 2013 22:03:35 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4864#p4864</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4863#p4863</link>
			<description><![CDATA[A jakiego polecenia dokładnie używasz? Co dokładnie chcesz osiągnąć?]]></description>
			<author><![CDATA[dummy@example.com (c_michal)]]></author>
			<pubDate>Sun, 08 Dec 2013 22:01:03 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4863#p4863</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4862#p4862</link>
			<description><![CDATA[Wgrałem, ale to nadal nie pomogło:

ERROR: could not open server file "C:/Program Files/PostgreSQL/9.3/data/images (3).jpg": Permission denied

Jakiś inny pomysł?]]></description>
			<author><![CDATA[dummy@example.com (bodrek)]]></author>
			<pubDate>Sun, 08 Dec 2013 21:55:20 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4862#p4862</guid>
		</item>
		<item>
			<title><![CDATA[Odp: [ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4861#p4861</link>
			<description><![CDATA[Postgres ze względów bezpieczeństwa może czytać pliki, które są w podkatalogu data, wgraj swój plik do katalogu
C:/Program Files/PostgreSQL/9.3/data/images (3).jpg]]></description>
			<author><![CDATA[dummy@example.com (c_michal)]]></author>
			<pubDate>Sun, 08 Dec 2013 21:48:57 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4861#p4861</guid>
		</item>
		<item>
			<title><![CDATA[[ERROR] could not open server file]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=4860#p4860</link>
			<description><![CDATA[Witam,

Mam zainstalowanego postgresa na windows xp - stworzone konto systemowa postgres z uprawnieniami administratora - ale kiedy próbuję odwołać się do pliku - dostaję błąd. Próbowałem nawet ustawiać, żeby użytkownik postgres był właścicielem tego folderu - ale nic nie pomaga. Macie jakieś pomysły ?

Query failed: ERROR: could not open server file "C:/Program Files/PostgreSQL/images (3).jpg": Permission denied]]></description>
			<author><![CDATA[dummy@example.com (bodrek)]]></author>
			<pubDate>Sun, 08 Dec 2013 17:32:10 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=4860#p4860</guid>
		</item>
	</channel>
</rss>
