Re: PgBadger et variable de dossier temporaire en Perl

"Daniel Verite" <[email protected]> Tue, 29 Aug 2017 15:42:17 +0200
Newsgroups gmane.comp.db.postgresql.french
Message-ID <[email protected]>
	David TECHER wrote:

> Le souci est que la vrai variable d'environnement n'est pas explicitement
> fournie dans la doc de Perl http://perldoc.perl.org/File/Temp.html 

Par défaut il utilise File::Spec->tmpdir() qui regarde TMPDIR sur Unix.

cf https://perldoc.perl.org/File/Spec.html

tmpdir

Returns a string representation of the first writable directory from a list
of possible temporary directories. Returns the current directory if no
writable temporary directories are found. The list of directories checked
depends on the platform; e.g. File::Spec::Unix checks $ENV{TMPDIR} (unless
taint is on) and /tmp.


Cordialement,
-- 
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite


--
Envoi via la liste pgsql-fr-generale ([email protected])