Commit fac2ba5d authored by Bruce Momjian's avatar Bruce Momjian

There is updated Russian translation of the FAQ in the attachment.

Victor Vislobokov
parent 3f040b1f
Otvety na chasto zadavaemye voprosy po PostgreSQL
Data poslednego obnovleniya: Pyatnica 16 sentyabrya 14:07:22 EDT 2005
Data poslednego obnovleniya: Pyatnica 24 fevralya 23:28:40 EDT 2006
Anglijskij variant soprovozhdaet: Bryus Mom'yan (Bruce Momjian)
(pgman@candle.pha.pa.us)
......@@ -18,19 +18,19 @@
Obschie voprosy
1.1) CHto takoe PostgreSQL? Kak proiznositsya `eto nazvanie?
1.2) Kakovy avtorskie prava na PostgreSQL?
1.3) Na kakih platformah rabotaet PostgreSQL?
1.4) Gde mozhno vzyat' PostgreSQL?
1.5) Gde poluchit' podderzhku?
1.6) Kak mne soobschit' ob oshibke?
1.7) Kakaya versiya poslednyaya?
1.8) Kakaya dokumentaciya imeetsya v nalichii?
1.2) Kto upravlyaet PostgreSQL?
1.3) Kakovy avtorskie prava na PostgreSQL?
1.4) Na kakih platformah rabotaet PostgreSQL?
1.5) Gde mozhno vzyat' PostgreSQL?
1.6) Kakaya versiya poslednyaya?
1.7) Gde poluchit' podderzhku?
1.8) Kak mne soobschit' ob oshibke?
1.9) Kak najti informaciyu ob izvestnyh oshibkah ili otsutstvuyuschih
vozmozhnostyah?
1.10) Kak nauchit'sya SQL?
1.11) Kak prisoedinitsya k komande razrabotchikov?
1.12) Kak sravnivat' PostgreSQL s drugimi SUBD?
1.13) Kto upravlyaet PostgreSQL?
1.10) Kakaya dokumentaciya imeetsya v nalichii?
1.11) Kak nauchit'sya SQL?
1.12) Kak prisoedinitsya k komande razrabotchikov?
1.13) Kak sravnit' PostgreSQL s drugimi SUBD?
Voprosy pol'zovatelej po klientskoj chasti
......@@ -43,7 +43,7 @@
3.1) Kak mne ustanovit' PostgreSQL v mesto otlichnoe ot
/usr/local/pgsql?
3.2) Kak mne upravlyat' soedineniyami s drugih komp'yuterov?
3.2) Kak mne upravlyat' soedineniyami ot drugih komp'yuterov?
3.3) Kakie nastrojki mne nuzhno sdelat' dlya uluchsheniya
proizvoditel'nosti?
3.4) Kakie vozmozhnosti dlya otladki est' v nalichii?
......@@ -118,18 +118,28 @@
Podrobnosti smotrite v FAQ dlya razrabotchikov,
http://www.PostgreSQL.org/files/documentation/faqs/FAQ_DEV.html
1.2) Kakovy avtorskie prava na PostgreSQL?
1.2) Kto upravlyaet PostgreSQL?
Esli vy ischite kakogo-to osobennogo cheloveka, central'nyj komitet
ili upravlyayuschuyu kompaniyu, to naprasno --- ih net. U nas est'
yadro komiteta i razrabotchikov, rabotayuschih s CVS, no `eti gruppy
sluzhat bol'she dlya administrativnyh celej, chem dlya upravleniya.
Proekt napryamuyu funkcioniruet s pomosch'yu soobschestva
razrabotchikov i pol'zovatelej, k kotoromu mozhet prisoedinitsya
kazhdyj. Vsio chto nuzhno -- `eto podpisat'sya na spiski rassylki i
uchastvovat' v diskussiyah. (Podrobnosti o tom kak vklyuchit'sya v
razrabotku PostgreSQL smotrite v FAQ dlya razrabotchikov.)
1.3) Kakovy avtorskie prava na PostgreSQL?
PostgreSQL rasprostranyaetsya po klassicheskoj licenzii BSD. `Eta
licenziya ne soderzhit ogranichenij na to, kak budet ispol'zovat'sya
ishodnyj kod. Nam nravitsya `eta licenziya i u nas net namerenij eio
menyat'.
Vot `eta licenziya BSD, kotoruyu my ispol'zuem:
menyat'. Vot `eta licenziya BSD, kotoruyu my ispol'zuem:
Sistema Upravleniya Bazami Dannyh PostgreSQL
Portions copyright (c) 1996-2005, PostgreSQL Global Development Group
Portions copyright (c) 1996-2006, PostgreSQL Global Development Group
Portions Copyright (c) 1994-1996 Regents of the University of
California
......@@ -155,7 +165,7 @@
PREDOSTAVLYAT' SOPROVOZHDENIE, PODDERZHKU, OBNOVLENIYA, RASSHIRENIYA
ILI IZMENENIYA.
1.3) Na kakih platformah rabotaet PostgreSQL?
1.4) Na kakih platformah rabotaet PostgreSQL?
Obychno, PostgreSQL mozhet rabotat' na lyuboj sovremennoj platforme
sovmestimoj s Unix. V instrukcii po ustanovke, vy najdete spisok teh
......@@ -174,12 +184,19 @@
http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=postgre
SQL&stype=all&sort=type&dir=%2F.
1.4) Gde mozhno vzyat' PostgreSQL?
1.5) Gde mozhno vzyat' PostgreSQL?
CHerez brauzer, ispol'zuya http://www.postgresql.org/ftp/ i cherez
ftp, ispol'zuya ftp://ftp.PostgreSQL.org/pub/.
1.5) Gde poluchit' podderzhku?
1.6) Kakaya poslednyaya versiya?
Poslednij vypusk PostgreSQL - `eto versiya 8.1.3
My planiruem vypuskat' novye starshie versii kazhdyj god, a mladshie
versii kazhdye neskol'ko mesyacev.
1.7) Gde poluchit' podderzhku?
Soobschestvo PostgreSQL predostavlyaet pomosch' mnozhestvu
pol'zovatelej cherez E-mail. Osnovnoj web-sajt dlya podpiski na spiski
......@@ -198,22 +215,63 @@
Spisok kommercheskoj podderzhki kompanij dostupen na
http://techdocs.postgresql.org/companies.php.
1.6) Kak mne soobschit' ob oshibke?
1.8) Kak mne soobschit' ob oshibke?
Posetite stranichku so special'noj formoj otchiota ob oshibke v
PostgreSQL po adresu: http://www.postgresql.org/support/submitbug.
Takzhe prover'te nalichie bolee svezhej versii PostgreSQL na nashem
FTP sajte ftp://ftp.PostgreSQL.org/pub/.
1.7) Kakaya poslednyaya versiya?
Na oshibki, uvedomlenie o kotoryh byli sdelany cherez special'nuyu
formu ili otpravlennye v kakoj-libo spisok rassylki PostgreSQL,
obychno generiruetsya odin iz sleduyuschih otvetov:
* `Eto ne oshibka i pochemu
* `Eto izvestnaya oshibka i ona uzhe est' v spiske TODO
* Dannaya oshibka byla ispravlena v tekuschem vypuske
* Dannaya oshibka byla ispravlena, no ispravlenie poka ne popalo v
oficial'nyj vypusk
* Zaprashivaetsya bolee detal'naya informaciya:
+ Operacionnaya sistema
+ Versiya PostgreSQL
+ Test, vosproizvodyaschij oshibku
+ Otladochnaya informaciya
+ Vyvod backtrace otladchika
* `Eto novaya oshibka. Mozhet proizojti sleduyuschee:
+ Budet sozdano ispravlenie, kotoroe budet vklyucheno v
sleduyuschij vypusk
+ Oshibka ne mozhet byt' ispravlena nemedlenno i budet
dobavlena v spisok TODO
1.9) Kak najti informaciyu ob izvestnyh oshibkah ili otsutstvuyuschih
vozmozhnostyah?
Poslednij vypusk PostgreSQL - `eto versiya 8.0.3
My planiruem vypuskat' novye starshie versii kazhdyj god, a mladshie
versii kazhdye neskol'ko mesyacev.
PostgreSQL podderzhivaet rasshirennyj podklass SQL:2003. Smotrite nash
spisok TODO na predmet izvestnyh oshibok, otsutstvuyuschih
vozmozhnostej i buduschih planov.
1.8) Kakaya dokumentaciya imeetsya v nalichii?
Na zapros kakoj-libo vozmozhnosti obychno prihodyat sleduyuschie
otvety:
* Dannaya vozmozhnost' uzhe est' v spiske TODO
* Dannaya vozmozhnost' nezhelatel'na potomu chto:
+ Ona dubliruet suschestvuyuschuyu funkcional'nost', kotoraya
sleduet standartu SQL
+ Dannaya vozmozhnost' sil'no uslozhnila by kod, no dala by
malen'kuyu vygodu
+ Dannaya vozmozhnost' nebezopasna ili nenadiozhna
* Dannaya novaya vozmozhnost' dobavlena v spisok TODO
PostgreSQL ne ispol'zuet kakuyu-libo sistemu otslezhivaniya oshibok,
potomu chto my obnaruzhili, chto ispol'zovanie pryamogo obrascheniya
po `elektronnoj pochte i obnovlyaemogo spiska TODO yavlyaetsya bolee
`effektivnym. Na praktike, oshibki v programmnom obespechenii
sohranyayutsya ochen' nedolgo, a oshibki, kotorye vazhny bol'shomu
kolichestvu pol'zovatelej ispravlyayutsya momental'no. Est' tol'ko
odno mesto, gde mozhno najti vse izmeneniya, uluchsheniya i
ispravleniya, sdelannye v vypuske PostgreSQL - `eto zhurnaly
soobschenij sistemy kontrolya versij CVS. Dazhe zamechaniya k vypuskam
ne soderzhat vse izmeneniya, sdelannye v programmnom obespechenii.
1.10) Kakaya dokumentaciya imeetsya v nalichii?
PostgreSQL soderzhit mnogo dokumentacii, vklyuchaya bol'shoe
rukovodstvo, stranicy `elektronnogo rukovodstva man i nekotorye
......@@ -237,14 +295,7 @@
Nash sajt soderzhit esche bol'she informacii.
1.9) Kak najti informaciyu ob izvestnyh oshibkah ili otsutstvuyuschih
vozmozhnostyah?
PostgreSQL podderzhivaet rasshirennyj podklass SQL-92. Smotrite nash
spisok TODO na predmet izvestnyh oshibok, otsutstvuyuschih
vozmozhnostej i buduschih planov.
1.10) Kak mne nauchit'sya SQL?
1.11) Kak mne nauchit'sya SQL?
Vo-pervyh, voz'mite odnu iz knig po PostgreSQL, o kotoryh govorilos'
vyshe. Esche odin uchebnik - `eto kniga "Teach Yourself SQL in 21
......@@ -258,11 +309,11 @@
http://ourworld.compuserve.com/homepages/graeme_birchall/HTM_COOK.HTM,
i na http://sqlcourse.com.
1.11) Kak prisoedinitsya k komande razrabotchikov?
1.12) Kak prisoedinitsya k komande razrabotchikov?
Smotrite FAQ dlya razrabotchikov.
1.12) Kak sravnivat' PostgreSQL s drugimi SUBD?
1.13) Kak sravnit' PostgreSQL s drugimi SUBD?
Suschestvuet neskol'ko metodov sravneniya programmnogo obespecheniya:
vozmozhnosti, proizvoditel'nost', nadezhnost', podderzhka i cena.
......@@ -304,7 +355,7 @@
podderzhku PostgreSQL prevoshodyaschej drugie SUBD.
Suschestvuet kommercheskaya podderzhka po rezul'tam voznikshih
incidentov, kotoraya dostupna dlya teh komu ona nuzhna.
(Smotrite Sekciyu 1.5.)
(Smotrite Sekciyu 1.7.)
Cena
Nash produkt besplaten kak dlya kommercheskogo tak, i ne dlya
......@@ -312,18 +363,6 @@
nash produkt bez ogranichenij, za isklyucheniem teh, chto
opisyvayutsya v nashej licenzii stilya BSD, kotoraya privedena
vyshe.
1.13) Kto upravlyaet PostgreSQL?
Esli vy ischite kakogo-to osobennogo cheloveka, central'nyj komitet
ili upravlyayuschuyu kompaniyu, to naprasno --- ih net. U nas est'
yadro komiteta i razrabotchikov, rabotayuschih s CVS, no `eti gruppy
sluzhat bol'she dlya administrativnyh celej, chem dlya upravleniya.
Proekt napryamuyu funkcioniruet s pomosch'yu soobschestva
razrabotchikov i pol'zovatelej, k kotoromu mozhet prisoedinitsya
kazhdyj. Vsio chto nuzhno -- `eto podpisat'sya na spiski rassylki i
uchastvovat' v diskussiyah. (Podrobnosti o tom kak vklyuchit'sya v
razrabotku PostgreSQL smotrite v FAQ dlya razrabotchikov.)
_________________________________________________________________
Voprosy pol'zovatelej po klientskoj chasti
......@@ -365,7 +404,7 @@
Zadajte opciyu --prefix kogda zapuskaete configure.
3.2) Kak mne upravlyat' soedineniyami s drugih komp'yuterov?
3.2) Kak mne upravlyat' soedineniyami ot drugih komp'yuterov?
Po umolchaniyu, PostgreSQL razreshaet tol'ko soedineniya na lokal'noj
mashine cherez sokety domena Unix ili TCP/IP soedineniya. Dlya togo,
......@@ -555,7 +594,7 @@
kotoryh celoe chislo i tekstovoe opisanie. Pri `etom dlina teksta, v
srednem, sostavlyaet 20 bajt. Razmer prostogo fajla sostavit 2.8 MB.
Razmer bazy PostgreSQL, soderzhaschej `eti zhe dannye sostavit
priblizitel'no 6.4 MB iz kotoryh:
priblizitel'no 5.6 MB iz kotoryh:
28 bajt: na kazhdyj zagolovok stroki v tablice (priblizitel'no)
+ 24 bajta: odno pole s celochislennym tipom i odno tekstovoe pole
+ 4 bajta: ukazatel' na stranice dlya vsej tablichnoj stroki
......@@ -605,14 +644,8 @@
sortirovkoj obychno bystree, chem poisk po indeksam v bol'shoj
tablice. Odnako, ORDER BY chasto kombiniruetsya s LIMIT i v `etom
sluchae indeks budet ispol'zovat'sya, poskol'ku pri vypolnenii budet
vozvraschat'sya nebol'shaya chast' tablicy. Fakticheski MAX() i MIN()
ne ispol'zuyut indeksy, no indeks ispol'zuetsya pri postroenii
zaprosov s ORDER BY i LIMIT:
SELECT col
FROM tab
ORDER BY col [ DESC ]
LIMIT 1;
vozvraschat'sya nebol'shaya chast' tablicy.
Esli vam kazhetsya, chto optimizator nekorrektno vybiraet
posledovatel'nyj perebor, ispol'zujte SET enable_seqscan TO 'off' i
zapustite zapros snova, chtoby uvidet', dejstvitel'no li skanirovanie
......
......@@ -12,7 +12,7 @@
<BODY bgcolor="#ffffff" text="#000000" link="#ff0000" vlink="#a00000" alink="#0000ff">
<H1> PostgreSQL</H1>
<P> : 16 14:07:22 EDT 2005</P>
<P> : 24 23:28:40 EDT 2006</P>
<P> : (Bruce Momjian) (<A href=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
......@@ -29,102 +29,102 @@
<HR>
<H2 align="center"> </H2>
<A href="#1.1">1.1</A>) PostgreSQL? ?<BR>
<A href="#1.2">1.2</A>) PostgreSQL?<BR>
<A href="#1.3">1.3</A>) PostgreSQL?<BR>
<A href="#1.4">1.4</A>) PostgreSQL?<BR>
<A href="#1.5">1.5</A>) ?<BR>
<A href="#1.6">1.6</A>) ?<BR>
<A href="#1.7">1.7</A>) ?<BR>
<A href="#1.8">1.8</A>) ?<BR>
<A href="#1.9">1.9</A>)
<A href="#item1.1">1.1</A>) PostgreSQL? ?<BR>
<A href="#item1.2">1.2</A>) PostgreSQL?<BR>
<A href="#item1.3">1.3</A>) PostgreSQL?<BR>
<A href="#item1.4">1.4</A>) PostgreSQL?<BR>
<A href="#item1.5">1.5</A>) PostgreSQL?<BR>
<A href="#item1.6">1.6</A>) ?<BR>
<A href="#item1.7">1.7</A>) ?<BR>
<A href="#item1.8">1.8</A>) ?<BR>
<A href="#item1.9">1.9</A>)
?<BR>
<A href="#1.10">1.10</A>) <SMALL>SQL</SMALL>?<BR>
<A href="#1.11">1.11</A>) ?<BR>
<A href="#1.12">1.12</A>) PostgreSQL
<A href="#item1.10">1.10</A>) ?<BR>
<A href="#item1.11">1.11</A>) <SMALL>SQL</SMALL>?<BR>
<A href="#item1.12">1.12</A>) ?<BR>
<A href="#item1.13">1.13</A>) PostgreSQL
<SMALL></SMALL>?<BR>
<A href="#1.13">1.13</A>) PostgreSQL?<BR>
<H2 align="center"> </H2>
<A href="#2.1">2.1</A>) PostgreSQL?<BR>
<A href="#2.2">2.2</A>)
<A href="#item2.1">2.1</A>) PostgreSQL?<BR>
<A href="#item2.2">2.2</A>)
PostgreSQL Web?<BR>
<A href="#2.3">2.3</A>) PostgreSQL
<A href="#item2.3">2.3</A>) PostgreSQL
?<BR>
<H2 align="center"> </H2>
<A href="#3.1">3.1</A>) PostgreSQL
<A href="#item3.1">3.1</A>) PostgreSQL
<I>/usr/local/pgsql</I>?<BR>
<A href="#3.2">3.2</A>)
<A href="#item3.2">3.2</A>)
?<BR>
<A href="#3.3">3.3</A>)
<A href="#item3.3">3.3</A>)
?<BR>
<A href="#3.4">3.4</A>) ?<BR>
<A href="#3.5">3.5</A>) <I>"Sorry, too many
<A href="#item3.4">3.4</A>) ?<BR>
<A href="#item3.5">3.5</A>) <I>"Sorry, too many
clients"</I> ?<BR>
<A href="#3.6">3.6</A>) dump restore
<A href="#item3.6">3.6</A>) dump restore
PostgreSQL?<BR>
<A href="#3.7">3.7</A>) ""
<A href="#item3.7">3.7</A>) ""
?<BR>
<H2 align="center"> </H2>
<A href="#4.1">4.1</A>) <SMALL>SELECT</SMALL>
<A href="#item4.1">4.1</A>) <SMALL>SELECT</SMALL>
? ?<BR>
<A href="#4.2">4.2</A>) , ,
<A href="#item4.2">4.2</A>) , ,
? ,
<I>psql</I> ?<BR>
<A href="#4.3">4.3</A>) ?<BR>
<A href="#4.4">4.4</A>) ,
<A href="#item4.3">4.3</A>) ?<BR>
<A href="#item4.4">4.4</A>) ,
?<BR>
<A href="#4.5">4.5</A>)
<A href="#item4.5">4.5</A>)
?<BR>
<A href="#4.6">4.6</A>) ?
<A href="#item4.6">4.6</A>) ?
?<BR>
<A href="#4.7">4.7</A>) ,
<A href="#item4.7">4.7</A>) ,
?<BR>
<A href="#4.8">4.8</A>)
<A href="#item4.8">4.8</A>)
?
?<BR>
<A href="#4.9">4.9</A>) ,
<A href="#item4.9">4.9</A>) ,
<SMALL>NULL</SMALL> - ?
<SMALL>NULL</SMALL> ?<BR>
<A href="#4.10">4.10</A>)
<A href="#item4.10">4.10</A>)
?<BR>
<A href="#4.11.1">4.11.1</A>) serial/--?<BR>
<A href="#4.11.2">4.11.2</A>)
<A href="#item4.11.1">4.11.1</A>) serial/--?<BR>
<A href="#item4.11.2">4.11.2</A>)
<SMALL>SERIAL</SMALL>?<BR>
<A href="#4.11.3">4.11.3</A>) ,
<A href="#item4.11.3">4.11.3</A>) ,
<I>currval()</I> <I>nextval()</I>
?<BR>
<A href="#4.11.4">4.11.4</A>)
<A href="#item4.11.4">4.11.4</A>)
?
, /SERIAL?<BR>
<A href="#4.12">4.12</A>) <SMALL>OID</SMALL>?
<A href="#item4.12">4.12</A>) <SMALL>OID</SMALL>?
<SMALL>CTID</SMALL>?<BR>
<A href="#4.13">4.13</A>) <I>"ERROR: Memory
<A href="#item4.13">4.13</A>) <I>"ERROR: Memory
exhausted in AllocSetAlloc()"</I>?<BR>
<A href="#4.14">4.14</A>) , PostgreSQL
<A href="#item4.14">4.14</A>) , PostgreSQL
?<BR>
<A href="#4.15">4.15</A>)
<A href="#item4.15">4.15</A>)
?<BR>
<A href="#4.16">4.16</A>) ?<BR>
<A href="#4.17">4.17</A>) ,
<A href="#item4.16">4.16</A>) ?<BR>
<A href="#item4.17">4.17</A>) ,
?<BR>
<A href="#4.18">4.18</A>) ?<BR>
<A href="#4.19">4.19</A>) "relation with OID ####
<A href="#item4.18">4.18</A>) ?<BR>
<A href="#item4.19">4.19</A>) "relation with OID ####
", PL/PgSQL?<BR>
<A href="#4.20">4.20</A>) ?<BR>
<A href="#4.21">4.21</A>)
<A href="#item4.20">4.20</A>) ?<BR>
<A href="#item4.21">4.21</A>)
ϣ ?<BR>
<HR>
<H2 align="center"> </H2>
<H3><A name="1.1">1.1</A>) PostgreSQL? ?</H3>
<H3><A name="item1.1">1.1</A>) PostgreSQL? ?</H3>
<P>PostgreSQL <I>Post-Gres-Q-L (---)</I>,
<I>Postgres</I>.
......@@ -146,18 +146,30 @@
http://www.PostgreSQL.org/files/documentation/faqs/FAQ_DEV.html</A>
</P>
<H3><A name="1.2">1.2</A>) PostgreSQL?</H3>
<H3><A name="item1.2">1.2</A>) PostgreSQL?</H3>
<P> - ,
, --- .
, CVS,
,
.
,
. ӣ --
. (
PostgreSQL
<a href="http://www.postgresql.org/docs/faqs.FAQ_DEV.html">
FAQ </A>.)</P>
<H3><A name="item1.3">1.3</A>) PostgreSQL?</H3>
<P>PostgreSQL BSD.
,
. ţ
.</P>
<P> BSD, :</P>
. BSD, :</P>
<P> PostgreSQL</P>
<P>Portions copyright (c) 1996-2005, PostgreSQL Global Development
<P>Portions copyright (c) 1996-2006, PostgreSQL Global Development
Group Portions Copyright (c) 1994-1996 Regents of the University of
California</P>
......@@ -182,7 +194,7 @@
" "
, , , .</P>
<H3><A name="1.3">1.3</A>) PostgreSQL?</H3>
<H3><A name="item1.4">1.4</A>) PostgreSQL?</H3>
<P>, PostgreSQL
Unix. ,
......@@ -203,13 +215,22 @@
<A href="http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&amp;button=Search&amp;key=postgreSQL&amp;stype=all&amp;sort=type&amp;dir=%2F">
http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&amp;button=Search&amp;key=postgreSQL&amp;stype=all&amp;sort=type&amp;dir=%2F</A>.</P>
<H3><A name="1.4">1.4</A>) PostgreSQL?</H3>
<H3><A name="item1.5">1.5</A>) PostgreSQL?</H3>
<P> , <a href="http://www.postgresql.org/ftp/">
http://www.postgresql.org/ftp/</a> ftp,
<A href="ftp://ftp.PostgreSQL.org/pub/">ftp://ftp.PostgreSQL.org/pub/</A>.</P>
<H3><A name="1.5">1.5</A>) ?</H3>
<H3><A name="item1.6">1.6</A>) ?</H3>
<P> PostgreSQL - 8.1.3</P>
<P> ,
.</P>
<H3><A name="item1.7">1.7</A>) ?</H3>
<P> PostgreSQL
E-mail. web-
......@@ -231,26 +252,87 @@
http://techdocs.postgresql.org/companies.php</A>.</P>
<H3><A name="1.6">1.6</A>) ?</H3>
<H3><A name="item1.8">1.8</A>) ?</H3>
<P> ޣ
PostgreSQL :
<A HREF="http://www.postgresql.org/support/submitbug">
http://www.postgresql.org/support/submitbug</A>.</P>
<P> PostgreSQL
http://www.postgresql.org/support/submitbug</A>.
PostgreSQL
FTP <A href="ftp://ftp.postgresql.org/pub/">
ftp://ftp.PostgreSQL.org/pub/</A>.
ftp://ftp.PostgreSQL.org/pub/</A>.</P>
<P> ,
- PostgreSQL,
:</P>
<UL>
<LI> </LI>
<LI>
<A HREF="http://www.postgresql.org/docs/faqs.TODO.html">TODO</A></LI>
<LI> </LI>
<LI> ,
</LI>
<LI> :
<UL>
<LI> </LI>
<LI> PostgreSQL</LI>
<LI>, </LI>
<LI> </LI>
<LI> backtrace </LI>
</UL>
</LI>
<LI> . :
<UL>
<LI> ,
</LI>
<LI>
<A HREF="http://www.postgresql.org/docs/faqs.TODO.html">TODO</A></LI>
</UL>
</LI>
</UL>
<H3><A name="1.7">1.7</A>) ?</H3>
<H3><A name="1.9">1.9</A>)
?</H3>
<P> PostgreSQL - 8.0.3</P>
<P>PostgreSQL <SMALL>SQL:2003</SMALL>.
<A href="http://www.postgresql.org/docs/faqs.TODO.html">TODO</A>
,
.</P>
<P> ,
.</P>
<P> - :</P>
<UL>
<LI>
<A href="http://www.postgresql.org/docs/faqs.TODO.html">TODO</A></LI>
<LI> :
<UL>
<LI> ,
SQL</LI>
<LI> ,
</LI>
<LI> ģ</LI>
</UL>
</LI>
<LI>
<A href="http://www.postgresql.org/docs/faqs.TODO.html">TODO</A>
</LI>
</UL>
<P>PostgreSQL - ,
,
<A href="http://www.postgresql.org/docs/faqs.TODO.html">TODO</A>
. ,
, ,
.
, ,
, PostgreSQL -
<A HREF="http://www.postgresql.org/developer/sourcecode/">CVS</A>.
,
.</P>
<H3><A name="1.8">1.8</A>) ?</H3>
<H3><A name="item1.10">1.10</A>) ?</H3>
<P>PostgreSQL , ,
man
......@@ -274,15 +356,8 @@
<P> .</P>
<H3><A name="1.9">1.9</A>)
?</H3>
<P>PostgreSQL <SMALL>SQL</SMALL>-92.
<A href="http://www.postgresql.org/docs/faqs.TODO.html">TODO</A>
,
.</P>
<H3><A name="1.10">1.10</A>) <SMALL>SQL</SMALL>?</H3>
<H3><A name="item1.11">1.11</A>) <SMALL>SQL</SMALL>?</H3>
<P>-, PostgreSQL,
. - "Teach Yourself SQL in 21 Days,
......@@ -301,13 +376,13 @@
<A href="http://sqlcourse.com/">http://sqlcourse.com.</A></P>
<H3><A name="1.11">1.11</A>) ?</H3>
<H3><A name="item1.12">1.12</A>) ?</H3>
<P> <a href="http://www.postgresql.org/docs/faqs.FAQ_DEV.html">
FAQ </A>.</P>
<H3><A name="1.12">1.12</A>) PostgreSQL
<H3><A name="item1.13">1.13</A>) PostgreSQL
<SMALL></SMALL>?</H3>
<P>
......@@ -359,7 +434,7 @@
,
PostgreSQL <SMALL></SMALL>.
,
. ( <A href="#1.5"> 1.5</A>.)<BR>
. ( <A href="#item1.7"> 1.7</A>.)<BR>
<BR>
</DD>
......@@ -373,25 +448,12 @@
</DD>
</DL>
<H3><A name="1.13">1.13</A>) PostgreSQL?</H3>
<P> - ,
, --- .
, CVS,
,
.
,
. ӣ --
. (
PostgreSQL
<a href="http://www.postgresql.org/docs/faqs.FAQ_DEV.html">
FAQ </A>.)</P>
<HR>
<H3 align="center"> </H3>
<H3><A name="2.1">2.1</A>) PostgreSQL?</H3>
<H3><A name="item2.1">2.1</A>) PostgreSQL?</H3>
<P> PostgreSQL <small>C</small>
(embedded) <small>C</small> .
......@@ -406,7 +468,7 @@
<i>Drivers/Interfaces</I>, .</P>
<H3><A name="2.2">2.2</A>)
<H3><A name="item2.2">2.2</A>)
PostgreSQL Web?</H3>
<P> Web :
......@@ -418,7 +480,7 @@
<P> , Perl DBD::Pg CGI.pm
mod_perl.</P>
<H3><A name="2.3">2.3</A>) PostgreSQL
<H3><A name="item2.3">2.3</A>) PostgreSQL
?</H3>
<P>, <a href="http://techdocs.postgresql.org/guides/GUITools">
......@@ -428,12 +490,12 @@
<H2 align="center"> </H2>
<H3><A name="3.1">3.1</A>) PostgreSQL
<H3><A name="item3.1">3.1</A>) PostgreSQL
<I>/usr/local/pgsql</I>?</H3>
<P> <I>--prefix</I> <I>configure</I>.</P>
<H3><A name="3.2">3.2</A>)
<H3><A name="item3.2">3.2</A>)
?</H3>
<P> , PostgreSQL
......@@ -443,7 +505,7 @@
host- <I>$PGDATA/pg_hba.conf</I>
.</P>
<H3><A name="3.3">3.3</A>)
<H3><A name="item3.3">3.3</A>)
?</H3>
<P> ,
......@@ -495,7 +557,7 @@
</DD>
</DL>
<H3><A name="3.4">3.4</A>)
<H3><A name="item3.4">3.4</A>)
?</H3>
<P> ,
......@@ -504,7 +566,7 @@
.</P>
<H3><A name="3.5">3.5</A>) <I>"Sorry, too
<H3><A name="item3.5">3.5</A>) <I>"Sorry, too
many clients"</I> ?</H3>
<P> 100
......@@ -514,7 +576,7 @@
<I>postmaster</I>.</P>
<H3><A name="3.6">3.6</A>) dump restore
<H3><A name="item3.6">3.6</A>) dump restore
PostgreSQL?</H3>
<P> PostgreSQL
......@@ -533,7 +595,7 @@
<i>pg_upgrade</i> .</P>
<H3><A name="3.7">3.7</A>) ""
<H3><A name="item3.7">3.7</A>) ""
?</H3>
<P> ""
......@@ -549,7 +611,7 @@
<H2 align="center"> </H2>
<H3><A name="4.1">4.1</A>) <SMALL>SELECT</SMALL>
<H3><A name="item4.1">4.1</A>) <SMALL>SELECT</SMALL>
? ?</H3>
<P> ,
......@@ -567,7 +629,7 @@
</PRE>
<H3><A name="4.2">4.2</A>) , ,
<H3><A name="item4.2">4.2</A>) , ,
? ,
<I>psql</I> ?</H3>
......@@ -592,7 +654,7 @@
.</P>
<H3><A name="4.3">4.3</A>) ?</H3>
<H3><A name="item4.3">4.3</A>) ?</H3>
<P> 8.0 ,
<SMALL>ALTER TABLE ALTER COLUMN TYPE</SMALL>.</P>
......@@ -606,7 +668,7 @@
COMMIT;
</PRE>
<H3><A name="4.4">4.4</A>) ,
<H3><A name="item4.4">4.4</A>) ,
?</H3>
<P> :</P>
......@@ -663,7 +725,7 @@
MD5 ,
.</P>
<H3><A name="4.5">4.5</A>)
<H3><A name="item4.5">4.5</A>)
?</H3>
<P> PostgreSQL 5
......@@ -673,7 +735,7 @@
. ,
, 20 . 2.8 MB.
PostgreSQL,
6.4 MB :</P>
5.6 MB :</P>
<PRE>
28 : ()
+ 24 :
......@@ -701,7 +763,7 @@
.
</P>
<H3><A name="4.6">4.6</A>) ?
<H3><A name="item4.6">4.6</A>) ?
?</H3>
<P> .
......@@ -726,15 +788,7 @@
, .
, <SMALL>ORDER BY</SMALL> <SMALL>LIMIT</SMALL>
,
. MAX() MIN()
,
<SMALL>ORDER BY</SMALL> <SMALL>LIMIT</SMALL>:
<PRE>
SELECT col
FROM tab
ORDER BY col [ DESC ]
LIMIT 1;
</PRE>
.</P>
<P> ,
, <CODE>SET enable_seqscan TO 'off'</CODE>
......@@ -753,7 +807,7 @@
<LI> , .. [a-e].</LI>
<LI> , <small>ILIKE</small>
<i>~*</i> . ,
, <A href="#4.8">4.8</A>.</LI>
, <A href="#item4.8">4.8</A>.</LI>
<LI> <i>initdb</i>
<i>C</i>,
-C .
......@@ -765,13 +819,13 @@
.
int2, int8 numeric .</P>
<H3><A name="4.7">4.7</A>) ,
<H3><A name="item4.7">4.7</A>) ,
?</H3>
<P> <SMALL>EXPLAIN</SMALL>.</P>
<H3><A name="4.8">4.8</A>)
<H3><A name="item4.8">4.8</A>)
?
?</H3>
......@@ -799,7 +853,7 @@
̣ ,
<SMALL>CHECK</SMALL> .</P>
<H3><A name="4.9">4.9</A>) ,
<H3><A name="item4.9">4.9</A>) ,
<SMALL>NULL</SMALL> - ?
<SMALL>NULL</SMALL> ?</H3>
......@@ -823,7 +877,7 @@
ORDER BY (col IS NOT NULL);
</PRE>
<H3><A name="4.10">4.10</A>)
<H3><A name="item4.10">4.10</A>)
?</H3>
<BLOCKQUOTE>
<TABLE>
......@@ -882,7 +936,7 @@
<SMALL>NULL</SMALL> .
, .</P>
<H3><A name="4.11.1">4.11.1</A>)
<H3><A name="item4.11.1">4.11.1</A>)
serial/--?</H3>
<P>PostgreSQL <SMALL>SERIAL</SMALL>.
......@@ -906,13 +960,13 @@
<I>create_sequence</I>.
<H3><A name="4.11.2">4.11.2</A>)
<H3><A name="item4.11.2">4.11.2</A>)
<SMALL>SERIAL</SMALL>?</H3>
<P>
<SMALL>SERIAL</SMALL> sequence
<I>nextval()</I> <I></I>
. - <A href="#4.11.1">4.11.1</A>,
. - <A href="#item4.11.1">4.11.1</A>,
:</P>
<PRE>
new_id = execute("SELECT nextval('person_id_seq')");
......@@ -936,14 +990,14 @@
</PRE>
<H3><A name="4.11.3">4.11.3</A>) ,
<H3><A name="item4.11.3">4.11.3</A>) ,
<I>currval()</I> <I>nextval()</I>
?</H3>
<P>. <i>currval()</i> ,
, .</P>
<H3><A name="4.11.4">4.11.4</A>)
<H3><A name="item4.11.4">4.11.4</A>)
?
, /SERIAL?</H3>
......@@ -953,7 +1007,7 @@
.</P>
<H3><A name="4.12">4.12</A>) <SMALL>OID</SMALL>?
<H3><A name="item4.12">4.12</A>) <SMALL>OID</SMALL>?
<SMALL>CTID</SMALL>?</H3>
<P>, PostgreSQL ,
......@@ -978,7 +1032,7 @@
.</P>
<H3><A name="4.13">4.13</A>) <I>"ERROR: Memory
<H3><A name="item4.13">4.13</A>) <I>"ERROR: Memory
exhausted in AllocSetAlloc()"</I>?</H3>
<P>
......@@ -998,13 +1052,13 @@
, backend ,
.
<H3><A name="4.14">4.14</A>) , PostgreSQL
<H3><A name="item4.14">4.14</A>) , PostgreSQL
?</H3>
<P> <I>psql</I>, <CODE>SELECT version();</CODE></P>
<H3><A name="4.15">4.15</A>)
<H3><A name="item4.15">4.15</A>)
?</H3>
<P> <I>CURRENT_TIMESTAMP</I>:</P>
......@@ -1012,7 +1066,7 @@
CREATE TABLE test (x int, modtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP );
</PRE>
<H3><A name="4.16">4.16</A>) ?</H3>
<H3><A name="item4.16">4.16</A>) ?</H3>
<P>PostgreSQL ,
SQL. :</P>
......@@ -1036,7 +1090,7 @@ CREATE TABLE test (x int, modtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP );
<SMALL>RIGHT</SMALL> <SMALL>FULL</SMALL> .
<SMALL>INNER</SMALL> .</P>
<H3><A name="4.17">4.17</A>) ,
<H3><A name="item4.17">4.17</A>) ,
?</H3>
<P> .
......@@ -1048,14 +1102,14 @@ CREATE TABLE test (x int, modtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP );
.</P>
<H3><A name="4.18">4.18</A>) ?</H3>
<H3><A name="item4.18">4.18</A>) ?</H3>
<P> , ,
<A href="http://techdocs.postgresql.org/guides/SetReturningFunctions">
http://techdocs.postgresql.org/guides/SetReturningFunctions</A>.</P>
<H3><A name="4.19">4.19</A>) "relation with OID ####
<H3><A name="item4.19">4.19</A>) "relation with OID ####
", PL/PgSQL?</H3>
<P>PL/PgSQL
......@@ -1068,7 +1122,7 @@ CREATE TABLE test (x int, modtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP );
.</P>
<H3><A name="4.20">4.20</a>) ?</H3>
<H3><A name="item4.20">4.20</a>) ?</H3>
<P> "" -- ,
.</P>
......@@ -1088,7 +1142,7 @@ CREATE TABLE test (x int, modtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP );
PostgreSQL
<A href="http://pgfoundry.org/projects/pgcluster/">Pgcluster</A>.
<H3><A name="4.21">4.21</A>)
<H3><A name="item4.21">4.21</A>)
ϣ ?</H3>
<P> -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment