Re: PgBadger et variable de dossier temporaire en Perl
David TECHER <[email protected]> Tue, 29 Aug 2017 13:58:01 +0000 (UTC)
| Newsgroups | gmane.comp.db.postgresql.french |
|---|---|
| Message-ID | <[email protected]> |
Merci beaucoup. Celà va beaucoup m'aider
Cordialement
De : Daniel Verite <[email protected]>
À : David TECHER <[email protected]>
Cc : Pgsql Fr Generale <[email protected]>
Envoyé le : Mardi 29 août 2017 15h42
Objet : Re: [pgsql-fr-generale] PgBadger et variable de dossier temporaire en Perl
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