Skip to content

Commit

Permalink
Ajout de la version 12
Browse files Browse the repository at this point in the history
et un peu de ménage supplémentaire.
  • Loading branch information
gleu committed Nov 21, 2019
1 parent 0699fd7 commit aa46169
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 62 deletions.
29 changes: 29 additions & 0 deletions www-docs.postgresql.fr/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
$version['906'] = '9.6';
$version['100'] = '10';
$version['110'] = '11';
$version['110'] = '12';
?>
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Expand Down Expand Up @@ -134,6 +135,34 @@ function addEngine(name,ext,cat,type)
<p>Certaines vieilles versions, non maintenues, sont disponibles sur
l'<a href="index_obsoletes.php">index des version obsolètes</a>.</p>

<div id="pg12">
<h2>Documentation PostgreSQL, version 12</h2>
<div class="listes">
<ul>
<li>Manuel au format HTML&nbsp;:
<a href="12/">Consultation en ligne</a>,
t&eacute;l&eacute;chargement en
<a onclick="pageTracker._trackPageview('/pg12.zip');"
href="http://docs.postgresql.fr/12/pg12.zip">ZIP</a> ou
<a onclick="pageTracker._trackPageview('/pg96.tar.gz');"
href="http://docs.postgresql.fr/12/pg12.tar.gz">TAR.GZ</a>
</li>
<li>Manuel au format <a onclick="pageTracker._trackPageview('/pg12.pdf');"
href="http://docs.postgresql.fr/12/pg12.pdf">PDF</a>
</li>
<li>Document d'installation au format <a
onclick="pageTracker._trackPageview('/INSTALL12.html');"
href="http://docs.postgresql.fr/12/INSTALL.html">HTML</a> et
<a onclick="pageTracker._trackPageview('/INSTALL12.txt');"
href="http://docs.postgresql.fr/12/INSTALL.txt">texte</a>
</li>
<li><a onclick="pageTracker._trackPageview('/pg12.man.tar.gz');"
href="http://docs.postgresql.fr/12/pg12.man.tar.gz">Pages
man</a></li>
</ul>
</div>
</div>

<div id="pg11">
<h2>Documentation PostgreSQL, version 11</h2>
<div class="listes">
Expand Down
1 change: 1 addition & 0 deletions www-docs.postgresql.fr/index_obsoletes.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
$version['906'] = '9.6';
$version['100'] = '10';
$version['110'] = '11';
$version['120'] = '12';
?>
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Expand Down
1 change: 1 addition & 0 deletions www-docs.postgresql.fr/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
$version['906'] = '9.6';
$version['100'] = '10';
$version['110'] = '11';
$version['120'] = '12';
?>
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Expand Down
5 changes: 4 additions & 1 deletion www-docs.postgresql.fr/tools/addrelease.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,11 @@ function usage() {
case '11':
$version_int = 110;
break;
case '12':
$version_int = 120;
break;
default:
echo "Il s'agit d'une version majeure : 8.1 à 8.4, 9.0 à 9.6, 10, et 11.\n";
echo "Il s'agit d'une version majeure : 8.1 à 8.4, 9.0 à 9.6, 10 à 12.\n";
exit;
break;
}
Expand Down
69 changes: 8 additions & 61 deletions www-docs.postgresql.fr/tools/docspgfr_schema.dump
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
--
-- PostgreSQL database dump
--

SET client_encoding = 'UTF8';
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;

SET search_path = public, pg_catalog;

SET default_tablespace = '';

SET default_with_oids = false;

--
-- Name: pages; Type: TABLE; Schema: public; Owner: docspgfr; Tablespace:
--
CREATE EXTENSION pg_trgm;

CREATE TABLE pages (
id integer NOT NULL,
id serial,
url text,
titre text,
tags1 text,
Expand All @@ -29,48 +11,13 @@ CREATE TABLE pages (
version integer
);

ALTER TABLE pages ADD PRIMARY KEY (id);

ALTER TABLE public.pages OWNER TO docspgfr;

--
-- Name: pages_id_seq; Type: SEQUENCE; Schema: public; Owner: docspgfr
--

CREATE SEQUENCE pages_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;


ALTER TABLE public.pages_id_seq OWNER TO docspgfr;

--
-- Name: pages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: docspgfr
--

ALTER SEQUENCE pages_id_seq OWNED BY pages.id;


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: docspgfr
--

ALTER TABLE pages ALTER COLUMN id SET DEFAULT nextval('pages_id_seq'::regclass);


--
-- Name: public; Type: ACL; Schema: -; Owner: docspgfr
--

REVOKE ALL ON SCHEMA public FROM PUBLIC;
REVOKE ALL ON SCHEMA public FROM docspgfr;
GRANT ALL ON SCHEMA public TO docspgfr;
GRANT ALL ON SCHEMA public TO PUBLIC;
CREATE INDEX ON pages USING gin(fti);

CREATE TABLE mots (
mot text
);

--
-- PostgreSQL database dump complete
--
CREATE INDEX ON mots USING gin(mot gin_trgm_ops);

0 comments on commit aa46169

Please sign in to comment.