ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] pgsql 8.1 contrib bug
@ 2006-08-02 14:08 Serge
  2006-08-02 14:09 ` Alexey I. Froloff
  0 siblings, 1 reply; 6+ messages in thread
From: Serge @ 2006-08-02 14:08 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

В контрибах замечено несоответствие путей!!!
Так, pgcrypto.sql содержит следующее:

CREATE OR REPLACE FUNCTION digest(text, text)
RETURNS bytea
AS '/lib/pgcrypto/pgcrypto', 'pg_digest'
LANGUAGE 'C' IMMUTABLE STRICT;


А на самом деле либа лежит в /usr/lib/pgsql/contrib/pgcrypto/
Багу повесил. #9838



# жизнь налаживалась, налаживалась и стала совсем лажовой...

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] pgsql 8.1 contrib bug
  2006-08-02 14:08 [sisyphus] pgsql 8.1 contrib bug Serge
@ 2006-08-02 14:09 ` Alexey I. Froloff
  2006-08-02 14:24   ` Serge
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey I. Froloff @ 2006-08-02 14:09 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

* Serge <serg-e@> [060802 18:07]:
> А на самом деле либа лежит в /usr/lib/pgsql/contrib/pgcrypto/
> Багу повесил. #9838
Рекомендую заглянуть в /etc/chroot.d/postgres.*...

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] pgsql 8.1 contrib bug
  2006-08-02 14:09 ` Alexey I. Froloff
@ 2006-08-02 14:24   ` Serge
  2006-08-02 14:35     ` Alexey I. Froloff
  0 siblings, 1 reply; 6+ messages in thread
From: Serge @ 2006-08-02 14:24 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Alexey I. Froloff пишет:
> * Serge <serg-e@> [060802 18:07]:
>   
>> А на самом деле либа лежит в /usr/lib/pgsql/contrib/pgcrypto/
>> Багу повесил. #9838
>>     
> Рекомендую заглянуть в /etc/chroot.d/postgres.*...
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus
тогда подскажите почему не исполняются скрипты контрибов???
К примеру я хочу иметь в постгре функцию digest...
Раньше (7,4,х) я делал psql -f pgcrypto.sql <db> <user>
теперь оно ругается на ... э... гм... permission denied for language c ???
Упс... похоже вопрос вкорне меняется :)

Подскажите, как в постгре 8.1 ставить нынче контрибы???

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] pgsql 8.1 contrib bug
  2006-08-02 14:24   ` Serge
@ 2006-08-02 14:35     ` Alexey I. Froloff
  2006-08-02 14:41       ` Serge
  2006-08-02 14:57       ` Serge
  0 siblings, 2 replies; 6+ messages in thread
From: Alexey I. Froloff @ 2006-08-02 14:35 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

* Serge <serg-e@> [060802 18:23]:
> Раньше (7,4,х) я делал psql -f pgcrypto.sql <db> <user>
> теперь оно ругается на ... э... гм... permission denied for language c ???
> Упс... похоже вопрос вкорне меняется :)
Ну а CREATE LANGUAGE в этой базе делали?

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] pgsql 8.1 contrib bug
  2006-08-02 14:35     ` Alexey I. Froloff
@ 2006-08-02 14:41       ` Serge
  2006-08-02 14:57       ` Serge
  1 sibling, 0 replies; 6+ messages in thread
From: Serge @ 2006-08-02 14:41 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Alexey I. Froloff пишет:
> * Serge <serg-e@> [060802 18:23]:
>   
>> Раньше (7,4,х) я делал psql -f pgcrypto.sql <db> <user>
>> теперь оно ругается на ... э... гм... permission denied for language c ???
>> Упс... похоже вопрос вкорне меняется :)
>>     
> Ну а CREATE LANGUAGE в этой базе делали?
>   
ТОЧНО! Не делал...
А не напомните ли как, ибо в послледний раз это было года эдак 1,5 назад...

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] pgsql 8.1 contrib bug
  2006-08-02 14:35     ` Alexey I. Froloff
  2006-08-02 14:41       ` Serge
@ 2006-08-02 14:57       ` Serge
  1 sibling, 0 replies; 6+ messages in thread
From: Serge @ 2006-08-02 14:57 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Alexey I. Froloff пишет:
> * Serge <serg-e@> [060802 18:23]:
>   
>> Раньше (7,4,х) я делал psql -f pgcrypto.sql <db> <user>
>> теперь оно ругается на ... э... гм... permission denied for language c ???
>> Упс... похоже вопрос вкорне меняется :)
>>     
> Ну а CREATE LANGUAGE в этой базе делали?
>
>   
да. на create lang... ругается что уже exists
что ж таки не так? :(

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-02 14:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-02 14:08 [sisyphus] pgsql 8.1 contrib bug Serge
2006-08-02 14:09 ` Alexey I. Froloff
2006-08-02 14:24   ` Serge
2006-08-02 14:35     ` Alexey I. Froloff
2006-08-02 14:41       ` Serge
2006-08-02 14:57       ` Serge

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git