Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
9542deba
Commit
9542deba
authored
Jun 23, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Russian version of FAQ.
parent
5b106845
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
13 deletions
+46
-13
doc/FAQ_russian
doc/FAQ_russian
+20
-6
doc/src/FAQ/FAQ_russian.html
doc/src/FAQ/FAQ_russian.html
+26
-7
No files found.
doc/FAQ_russian
View file @
9542deba
Otvety na chasto zadavaemye voprosy po PostgreSQL
Data poslednego obnovleniya: P
onedel'nik 22 Aprelya 14:02:41
EDT 2003
Data poslednego obnovleniya: P
yatnica 30 Maya 22:24:56
EDT 2003
Anglijskij variant soprovozhdaet: Bryus Mom'yan (Bruce Momjian)
(pgman@candle.pha.pa.us)
...
...
@@ -66,9 +66,9 @@
4.1) V chem otlichie mezhdu binarnym i normal'nym kursorom?
4.2) Kak vypolnit' SELECT tol'ko dlya neskol'kih pervyh strochek
zaprosa?
zaprosa?
Dlya proizvol'noj stroki?
4.3) Kak poluchit' spisok tablic ili drugih komponentov v psql?
4.4) Kak udalit' kolonku iz tablicy?
4.4) Kak udalit' kolonku iz tablicy
ili izmenit' eio tip dannyh
?
4.5) Kakovy maksimal'nye razmery dlya zapisej, tablic i bazy dannyh?
4.6) Kak mnogo diskovogo prostranstva v baze dannyh nuzhno dlya
sohraneniya dannyh iz obychnogo tekstovogo fajla?
...
...
@@ -709,6 +709,7 @@
Smotrite opisanie na stranicah rukovodstva posvyaschennym DECLARE.
4.2) Kak vypolnit' SELECT tol'ko dlya neskol'kih pervyh strochek zaprosa?
Proizvol'noj stroki?
Smotrite stanicu rukovodstva posvyaschennuyu FETCH ili ispol'zujte
SELECT ... LIMIT....
...
...
@@ -719,6 +720,12 @@
mozhet vydat' tol'ko neskol'ko pervyh zaproshennyh zapisej ili mozhet
vypolnyat' zapros poka ne budut vydany zhelaemye zapisi.
To SELECT a random row, use:
SELECT col
FROM tab
ORDER BY random()
LIMIT 1;
4.3) Kak poluchit' spisok tablic ili drugih komponentov v psql?
Vy mozhete posmotret' ishodnyj kod psql v fajle
...
...
@@ -728,10 +735,10 @@
chtoby `eta programma vydavala zaprosy, kotorye ona ispol'zuet dlya
vypolneniya zadannyh vami komand.
4.4) Kak udalit' kolonku iz tablicy?
4.4) Kak udalit' kolonku iz tablicy
ili izmenit' ioio tip dannyh
?
`Eta funkcional'nost' byla dobavlena v vypusk 7.3 s operatorom ALTER
TABLE DROP COLUMN. V rannih versiyah, mozhno sdelat' tak:
DROP COLUMN funkcional'nost' byla dobavlena v vypusk 7.3 s operatorom
ALTER
TABLE DROP COLUMN. V rannih versiyah, mozhno sdelat' tak:
BEGIN;
LOCK TABLE old_table;
SELECT ... -- vyborka vseh kolonok za isklyucheniem toj, kotoruyu hotite u
...
...
@@ -742,6 +749,13 @@ dalit'
ALTER TABLE new_table RENAME TO old_table;
COMMIT;
Dlya izmeneniya tipa dannyh kolonki, sdelajte tak:
BEGIN;
ALTER TABLE tab ADD COLUMN new_col new_data_type;
UPDATE tab SET new_col = CAST(old_col AS new_data_type);
ALTER TABLE DROP COLUMN old_col;
COMMIT;
4.5) Kakovy maksimal'nye razmery dlya zapisej, tablic i bazy dannyh?
Suschestvuyut sleduyuschie ogranicheniya:
...
...
doc/src/FAQ/FAQ_russian.html
View file @
9542deba
...
...
@@ -13,7 +13,7 @@
alink=
"#0000ff"
>
<H1>
PostgreSQL
</H1>
<P>
:
22 14:02:41
EDT 2003
</P>
<P>
:
30 22:24:56
EDT 2003
</P>
<P>
: (Bruce Momjian) (
<A
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
...
...
@@ -85,10 +85,11 @@
<A
href=
"#4.1"
>
4.1
</A>
)
?
<BR>
<A
href=
"#4.2"
>
4.2
</A>
)
<SMALL>
SELECT
</SMALL>
?
<BR>
?
?
<BR>
<A
href=
"#4.3"
>
4.3
</A>
)
<I>
psql
</I>
?
<BR>
<A
href=
"#4.4"
>
4.4
</A>
) ?
<BR>
<A
href=
"#4.4"
>
4.4
</A>
)
ţ ?
<BR>
<A
href=
"#4.5"
>
4.5
</A>
) ,
?
<BR>
<A
href=
"#4.6"
>
4.6
</A>
)
...
...
@@ -811,7 +812,7 @@
<SMALL>
DECLARE
</SMALL>
.
</P>
<H4><A
name=
"4.2"
>
4.2
</A>
)
<SMALL>
SELECT
</SMALL>
?
</H4>
?
?
</H4>
<P>
<SMALL>
FETCH
</SMALL>
<SMALL>
SELECT
</SMALL>
...
<SMALL>
LIMIT
</SMALL>
....
</P>
...
...
@@ -823,6 +824,14 @@
.
</P>
<p>
To
<small>
SELECT
</small>
a random row, use:
</p><pre>
SELECT col
FROM tab
ORDER BY random()
LIMIT 1;
</pre>
</p>
<H4><A
name=
"4.3"
>
4.3
</A>
)
<I>
psql
</I>
?
</H4>
...
...
@@ -834,10 +843,11 @@
,
.
</P>
<H4><A
name=
"4.4"
>
4.4
</A>
) ?
</H4>
<H4><A
name=
"4.4"
>
4.4
</A>
)
?
</H4>
<P>
7.3
<small>
ALTER TABLE DROP COLUMN
</small>
. ,
<P>
<small>
DROP COLUMN
</small>
7.3
<small>
ALTER TABLE DROP COLUMN
</small>
. ,
:
</P>
<PRE>
BEGIN;
...
...
@@ -850,6 +860,15 @@
COMMIT;
</PRE>
<P>
, :
</P>
<PRE>
BEGIN;
ALTER TABLE tab ADD COLUMN new_col
<i>
new_data_type
</i>
;
UPDATE tab SET new_col = CAST(old_col AS
<i>
new_data_type
</i>
);
ALTER TABLE DROP COLUMN old_col;
COMMIT;
</PRE>
<H4><A
name=
"4.5"
>
4.5
</A>
) ,
?
</H4>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment