Skip to content
Snippets Groups Projects
Commit b5ccfc21 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Update Russian FAQ.

parent 3d801dbb
No related branches found
No related tags found
No related merge requests found
PostgreSQL
: 11 06:36:10 EDT 2002
: 22 19:20:40 EDT 2002
: (Bruce Momjian)
(pgman@candle.pha.pa.us)
......@@ -61,6 +61,8 @@
?
3.9) pg_sorttempNNN.NN
?
3.10) dump restore
PostgreSQL?
......@@ -267,7 +269,7 @@
1.7) ?
PostgreSQL - 7.2.
PostgreSQL - 7.2.2.
.
......@@ -414,7 +416,7 @@
,
. ,
,
http://www.pgsql.com/pg_goodies .
https://store.pgsql.com/shopping/index.php?id=1 .
PostgreSQL, Inc, "contributions"
PostgreSQL
......@@ -478,6 +480,9 @@
* TCL (libpgtcl)
* C Easy API (libpgeasy)
* Embedded HTML (PHP from http://www.php.net)
http://www.postgresql.org/interfaces.html.
_________________________________________________________________
......@@ -660,6 +665,22 @@
, backend .
backend ,
pg_tempNNN.NN.
3.10) dump restore
PostgreSQL?
PostgreSQL
. 7.2 7.2.1
dump restore.
. ,
.
dump ,
.
, ,
pg_upgrade
dump/restore.
pg_upgrade .
_________________________________________________________________
......@@ -707,8 +728,8 @@
? ( 60 G
B)
? 16 TB
? 7.1
? 1 GB 7.1
? 1.6 TB
? 1 GB
?
? 250-1600
......@@ -759,6 +780,9 @@ B)
,
, .
NULL
.
4.7) , , ,
?
......@@ -779,7 +803,7 @@ B)
. ,
,
,
.
-
......@@ -796,13 +820,30 @@ B)
, . , ORDER
BY LIMIT
,
.
. MAX() MIN() ,
ORDER BY LIMIT:
SELECT col
FROM tab
ORDER BY col [ DESC ]
LIMIT 1
, LIKE ~,
- ,
. , ,
, LIKE %, ~
( ) ^.
:
* ,
..:
* LIKE %.
*
* ~ ^.
*
, .. [a-e].
ILIKE ~. ,
FAQ .
initdb C.
4.9) , ?
......@@ -845,8 +886,7 @@ B)
~ , ~*
.
LIKE ILIKE PostgreSQL
7.1.
LIKE ILIKE.
:
SELECT *
......@@ -1014,10 +1054,9 @@ BYTEA bytea
4.18) "ERROR: Memory exhausted in AllocSetAlloc()"?
7.1,
. ,
.
postmaster :
.
postmaster :
ulimit -d 262144
limit datasize 256m
......@@ -1075,12 +1114,12 @@ SELECT *
4.23) ?
PostgreSQL 7.1 ,
SQL. :
PostgreSQL ,
SQL. :
SELECT *
FROM t1 LEFT OUTER JOIN t2 ON (t1.col = t2.col);
or
SELECT *
FROM t1 LEFT OUTER JOIN t2 USING (col);
......
......@@ -14,7 +14,7 @@
alink="#0000ff">
<H1> PostgreSQL</H1>
<P> : 11 06:36:10 EDT 2002</P>
<P> : 22 19:20:40 EDT 2002</P>
<P> : (Bruce Momjian) (<A href=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
......@@ -82,6 +82,8 @@
clients"</I> ?<BR>
<A href="#3.9">3.9</A>) <I>pg_sorttempNNN.NN</I>
?<BR>
<A href="#3.10">3.10</A>) dump restore
PostgreSQL?<BR>
<H2 align="center"> </H2>
......@@ -322,7 +324,7 @@
<H4><A name="1.7">1.7</A>) ?</H4>
<P> PostgreSQL - 7.2.</P>
<P> PostgreSQL - 7.2.2.</P>
<P> .</P>
......@@ -502,8 +504,8 @@
,
. ,
,
<A href=
"http://www.pgsql.com/pg_goodies">http://www.pgsql.com/pg_goodies</A>
<A href="https://store.pgsql.com/shopping/index.php?id=1">
https://store.pgsql.com/shopping/index.php?id=1</A>
.</P>
<P> PostgreSQL, Inc,
......@@ -594,6 +596,9 @@
<LI>Embedded <SMALL>HTML</SMALL> (<A href=
"http://www.php.net">PHP from http://www.php.net</A>)</LI>
</UL>
<P> <A href="http://www.postgresql.org/interfaces.html">
http://www.postgresql.org/interfaces.html.</A>
</P>
<HR>
<H2 align="center"> </H2>
......@@ -796,6 +801,25 @@
, backend .
backend ,
pg_tempNNN.NN.</P>
<A name="3.10">3.10</A>) dump restore
PostgreSQL?<BR>
<P> PostgreSQL
. 7.2 7.2.1
dump restore.
.
,
. dump
,
.</P>
<P>
, ,
<i>pg_upgrade</i>
dump/restore.
<i>pg_upgrade</i> .
</P>
<HR>
<H2 align="center"> </H2>
......@@ -852,12 +876,13 @@
<PRE>
? ( 60 GB)
? 16 TB
? 7.1
? 1 GB 7.1
? 1.6 TB
? 1 GB
?
? 250-1600
?
</PRE>
, ""
/.
,
......@@ -905,6 +930,10 @@
<P> ,
, .</P>
<P> <small>NULL</small>
.
</P>
<H4><A name="4.7">4.7</A>) ,
, , ?</H4>
......@@ -926,7 +955,7 @@
. ,
,
,
.</P>
<P> -
......@@ -944,14 +973,32 @@
, .
, <SMALL>ORDER BY</SMALL> <SMALL>LIMIT</SMALL>
,
.</P>
. MAX() MIN()
,
<SMALL>ORDER BY</SMALL> <SMALL>LIMIT</SMALL>:
<pre>
SELECT col
FROM tab
ORDER BY col [ DESC ]
LIMIT 1
</pre>
<P> , <SMALL>LIKE</SMALL>
<I>~</I>,
- , .
, , ,
<SMALL>LIKE</SMALL> <I>%</I>, <I>~</I>
( ) <I>^</I>.</P>
<I>~</I>, :
</P><UL>
<LI> , ..:</LI>
<UL>
<LI><small>LIKE</small> <i>%.</i><LI>
<LI><i>~</i> <i>^.</i><LI>
</UL>
<LI> , .. [a-e].</LI>
<LI>
<small>ILIKE</small> <i>~</i>.
, FAQ .</LI>
<LI> <i>initdb</i>
<i>C</i>.
</UL>
<p>
<H4><A name="4.9">4.9</A>) ,
?</H4>
......@@ -999,20 +1046,19 @@
<P> <I>~</I> ,
<I>~*</I>
. <SMALL>LIKE</SMALL>
<SMALL>ILIKE</SMALL> PostgreSQL 7.1.</P>
<SMALL>ILIKE</SMALL>.</P>
<P> :</P>
<PRE>
SELECT *
FROM tab
WHERE lower(col) = 'abc'
</PRE>
. ,
, :
<PRE>
CREATE INDEX tabindex on tab (lower(col));
</PRE>
<H4><A name="4.13">4.13</A>) ,
......@@ -1064,6 +1110,7 @@ BYTEA bytea
name TEXT
);
</PRE>
:
<PRE>
CREATE SEQUENCE person_id_seq;
......@@ -1073,6 +1120,7 @@ BYTEA bytea
);
CREATE UNIQUE INDEX person_id_key ON person ( id );
</PRE>
<I>create_sequence</I>.
<I>OID</I> . ,
......@@ -1093,6 +1141,7 @@ BYTEA bytea
new_id = output of "SELECT nextval('person_id_seq')"
INSERT INTO person (id, name) VALUES (new_id, 'Blaise Pascal');
</PRE>
<CODE>new_id</CODE> (
<CODE>person</CODE>). ,
......@@ -1108,6 +1157,7 @@ BYTEA bytea
INSERT INTO person (name) VALUES ('Blaise Pascal');
new_id = output of "SELECT currval('person_id_seq')";
</PRE>
,
<A href="#4.16"><SMALL>OID</SMALL></A>,
<SMALL>INSERT</SMALL> ,
......@@ -1213,8 +1263,7 @@ BYTEA bytea
<H4><A name="4.18">4.18</A>) <I>"ERROR: Memory
exhausted in AllocSetAlloc()"</I>?</H4>
<P> 7.1,
. ,
<P>
.
<I>postmaster</I>
:</P>
......@@ -1222,6 +1271,7 @@ BYTEA bytea
ulimit -d 262144
limit datasize 256m
</PRE>
shell,
,
.
......@@ -1275,6 +1325,7 @@ BYTEA bytea
WHERE col1 IN (SELECT col2 FROM TAB2)
</CODE>
</PRE>
:
<PRE>
<CODE>SELECT *
......@@ -1282,17 +1333,19 @@ BYTEA bytea
WHERE EXISTS (SELECT col2 FROM TAB2 WHERE col1 = col2)
</CODE>
</PRE>
.
<H4><A name="4.23">4.23</A>) ?</H4>
<P>PostgreSQL 7.1 ,
<P>PostgreSQL ,
SQL. :</P>
<PRE>
SELECT *
FROM t1 LEFT OUTER JOIN t2 ON (t1.col = t2.col);
</PRE>
or
<PRE>
SELECT *
FROM t1 LEFT OUTER JOIN t2 USING (col);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment