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
817fc4b2
Commit
817fc4b2
authored
Mar 23, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Manual page fixes.
parent
137d3428
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
41 additions
and
41 deletions
+41
-41
src/man/abort.l
src/man/abort.l
+2
-2
src/man/begin.l
src/man/begin.l
+2
-2
src/man/commit.l
src/man/commit.l
+2
-2
src/man/declare.l
src/man/declare.l
+2
-2
src/man/fetch.l
src/man/fetch.l
+10
-10
src/man/large_objects.3
src/man/large_objects.3
+4
-4
src/man/libpq.3
src/man/libpq.3
+5
-5
src/man/lock.l
src/man/lock.l
+3
-3
src/man/move.l
src/man/move.l
+9
-9
src/man/rollback.l
src/man/rollback.l
+2
-2
No files found.
src/man/abort.l
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/abort.l,v 1.
3 1998/01/11 22:17:01
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/abort.l,v 1.
4 1998/03/23 15:09:22
momjian Exp $
.TH ABORT SQL 01/23/93 PostgreSQL PostgreSQL
.TH ABORT SQL 01/23/93 PostgreSQL PostgreSQL
.\" XXX This .XA has to go after the .TH so that the index page number goes
.\" XXX This .XA has to go after the .TH so that the index page number goes
.\" in the right place...
.\" in the right place...
...
@@ -19,5 +19,5 @@ is functionally equivalent to
...
@@ -19,5 +19,5 @@ is functionally equivalent to
.IR "rollback".
.IR "rollback".
.SH "SEE ALSO"
.SH "SEE ALSO"
begin(l),
begin(l),
end
(l),
commit
(l),
rollback(l).
rollback(l).
src/man/begin.l
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/begin.l,v 1.
3 1998/01/11 22:17:05
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/begin.l,v 1.
4 1998/03/23 15:09:23
momjian Exp $
.TH BEGIN SQL 11/05/95 PostgreSQL PostgreSQL
.TH BEGIN SQL 11/05/95 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
begin - begins a transaction
begin - begins a transaction
...
@@ -17,4 +17,4 @@ them are done. Transactions have the standard ACID (atomic,
...
@@ -17,4 +17,4 @@ them are done. Transactions have the standard ACID (atomic,
consistent, isolatable, and durable) property.
consistent, isolatable, and durable) property.
.SH "SEE ALSO"
.SH "SEE ALSO"
abort(l),
abort(l),
end
(l).
commit
(l).
src/man/commit.l
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/commit.l,v 1.
3 1998/01/11 22:17:10
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/commit.l,v 1.
4 1998/03/23 15:09:25
momjian Exp $
.TH COMMIT SQL 01/23/93 PostgreSQL PostgreSQL
.TH COMMIT SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
commit - commit the current transaction
commit - commit the current transaction
...
@@ -19,5 +19,5 @@ command
...
@@ -19,5 +19,5 @@ command
.SH "SEE ALSO"
.SH "SEE ALSO"
abort(l),
abort(l),
begin(l),
begin(l),
end
(l),
commit
(l),
rollback(l).
rollback(l).
src/man/declare.l
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/declare.l,v 1.
3 1998/01/22 23:05:18
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/declare.l,v 1.
4 1998/03/23 15:09:26
momjian Exp $
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
declare - declare a cursor
declare - declare a cursor
...
@@ -35,5 +35,5 @@ For an example, see the fetch(l) manual page.
...
@@ -35,5 +35,5 @@ For an example, see the fetch(l) manual page.
.SH "SEE ALSO"
.SH "SEE ALSO"
fetch(l),
fetch(l),
begin(l),
begin(l),
end
(l),
commit
(l),
select(l).
select(l).
src/man/fetch.l
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/fetch.l,v 1.
5 1998/01/11 22:17:35
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/fetch.l,v 1.
6 1998/03/23 15:09:29
momjian Exp $
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
fetch - fetch instance(s) from a cursor
fetch - fetch instance(s) from a cursor
...
@@ -34,33 +34,33 @@ commands to update data.
...
@@ -34,33 +34,33 @@ commands to update data.
Cursors may only be used inside of transaction blocks marked by
Cursors may only be used inside of transaction blocks marked by
.IR begin (l)
.IR begin (l)
and
and
.IR
end
(l)
.IR
commit
(l)
because the data that they store spans multiple user queries.
because the data that they store spans multiple user queries.
.SH EXAMPLE
.SH EXAMPLE
.nf
.nf
--
--
--set up and use a cursor
--set up and use a cursor
--
--
begin
begin
work;
declare mycursor cursor for
declare mycursor cursor for
select * from pg-user;
select * from pg-user;
--
--
--Fetch all the instances available in the cursor FOO
--Fetch all the instances available in the cursor FOO
--
--
fetch all in FOO;
fetch all in FOO;
--
--
--Fetch 5 instances backward in the cursor FOO
--Fetch 5 instances backward in the cursor FOO
--
--
fetch backward 5 in FOO;
fetch backward 5 in FOO;
--
--
--close
--close
--
--
close foo;
close foo;
end
;
commit
;
.fi
.fi
.SH "SEE ALSO"
.SH "SEE ALSO"
begin(l),
begin(l),
end
(l),
commit
(l),
close(l),
close(l),
move(l),
move(l),
select(l).
select(l).
src/man/large_objects.3
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.
5 1998/01/11 22:17:41
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.
6 1998/03/23 15:09:29
momjian Exp $
.TH "LARGE OBJECTS" INTRO 03/18/94 PostgreSQL PostgreSQL
.TH "LARGE OBJECTS" INTRO 03/18/94 PostgreSQL PostgreSQL
.SH DESCRIPTION
.SH DESCRIPTION
.PP
.PP
...
@@ -259,7 +259,7 @@ library.
...
@@ -259,7 +259,7 @@ library.
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.
5 1998/01/11 22:17:41
momjian Exp $
* $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.
6 1998/03/23 15:09:29
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -458,7 +458,7 @@ main(int argc, char **argv)
...
@@ -458,7 +458,7 @@ main(int argc, char **argv)
exit_nicely(conn);
exit_nicely(conn);
}
}
res = PQexec(conn, "begin");
res = PQexec(conn, "begin
work;
");
PQclear(res);
PQclear(res);
printf("importing file \\"%s\\" ...\\n", in_filename);
printf("importing file \\"%s\\" ...\\n", in_filename);
/* lobjOid = importFile(conn, in_filename); */
/* lobjOid = importFile(conn, in_filename); */
...
@@ -477,7 +477,7 @@ main(int argc, char **argv)
...
@@ -477,7 +477,7 @@ main(int argc, char **argv)
/* exportFile(conn, lobjOid, out_filename); */
/* exportFile(conn, lobjOid, out_filename); */
lo_export(conn, lobjOid,out_filename);
lo_export(conn, lobjOid,out_filename);
res = PQexec(conn, "
end
");
res = PQexec(conn, "
commit;
");
PQclear(res);
PQclear(res);
PQfinish(conn);
PQfinish(conn);
exit(0);
exit(0);
...
...
src/man/libpq.3
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.1
2 1998/01/26 01:42:47 scrappy
Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.1
3 1998/03/23 15:09:30 momjian
Exp $
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
.SH DESCRIPTION
.SH DESCRIPTION
Libpq is the programmer's interface to Postgres. Libpq is a set of
Libpq is the programmer's interface to Postgres. Libpq is a set of
...
@@ -735,8 +735,8 @@ main()
...
@@ -735,8 +735,8 @@ main()
res = PQexec(conn, "CLOSE mycursor");
res = PQexec(conn, "CLOSE mycursor");
PQclear(res);
PQclear(res);
/*
end
the transaction */
/*
commit
the transaction */
res = PQexec(conn, "
END
");
res = PQexec(conn, "
COMMIT
");
PQclear(res);
PQclear(res);
/* close the connection to the database and cleanup */
/* close the connection to the database and cleanup */
...
@@ -985,8 +985,8 @@ main()
...
@@ -985,8 +985,8 @@ main()
res = PQexec(conn, "CLOSE mycursor");
res = PQexec(conn, "CLOSE mycursor");
PQclear(res);
PQclear(res);
/*
end
the transaction */
/*
commit
the transaction */
res = PQexec(conn, "
END
");
res = PQexec(conn, "
COMMIT
");
PQclear(res);
PQclear(res);
/* close the connection to the database and cleanup */
/* close the connection to the database and cleanup */
...
...
src/man/lock.l
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/lock.l,v 1.
4 1998/03/18 15:48:57
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/lock.l,v 1.
5 1998/03/23 15:09:34
momjian Exp $
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
lock - exclusive lock a table
lock - exclusive lock a table
...
@@ -34,8 +34,8 @@ begin work;
...
@@ -34,8 +34,8 @@ begin work;
lock table mytable;
lock table mytable;
select * from mytable;
select * from mytable;
update mytable set (x = 100);
update mytable set (x = 100);
end work
;
commit
;
.SH "SEE ALSO"
.SH "SEE ALSO"
begin(l),
begin(l),
end
(l),
commit
(l),
select(l).
select(l).
src/man/move.l
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/move.l,v 1.
2 1998/01/11 22:17:44
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/move.l,v 1.
3 1998/03/23 15:09:41
momjian Exp $
.TH MOVE SQL 01/23/93 PostgreSQL PostgreSQL
.TH MOVE SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
move - move cursor position
move - move cursor position
...
@@ -19,26 +19,26 @@ command: it fetches instances, but put them nowhere.
...
@@ -19,26 +19,26 @@ command: it fetches instances, but put them nowhere.
--
--
--set up and use a cursor
--set up and use a cursor
--
--
begin
begin
work;
declare mycursor cursor for
declare mycursor cursor for
select * from pg-user;
select * from pg-user;
--
--
--Move for 5 instances in the cursor FOO
--Move for 5 instances in the cursor FOO
--
--
move 5 in FOO;
move 5 in FOO;
--
--
--Fetch 6th instance in the cursor FOO
--Fetch 6th instance in the cursor FOO
--
--
fetch 1 in FOO;
fetch 1 in FOO;
--
--
--close
--close
--
--
close foo;
close foo;
end
;
commit
;
.fi
.fi
.SH "SEE ALSO"
.SH "SEE ALSO"
begin(l),
begin(l),
end
(l),
commit
(l),
close(l),
close(l),
fetch(l),
fetch(l),
select(l).
select(l).
src/man/rollback.l
View file @
817fc4b2
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/rollback.l,v 1.
3 1998/01/11 22:17:57
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/rollback.l,v 1.
4 1998/03/23 15:09:43
momjian Exp $
.TH ROLLBACK SQL 01/20/96 PostgreSQL PostgreSQL
.TH ROLLBACK SQL 01/20/96 PostgreSQL PostgreSQL
.\" XXX This .XA has to go after the .TH so that the index page number goes
.\" XXX This .XA has to go after the .TH so that the index page number goes
.\" in the right place...
.\" in the right place...
...
@@ -21,4 +21,4 @@ command.
...
@@ -21,4 +21,4 @@ command.
.SH "SEE ALSO"
.SH "SEE ALSO"
abort(l),
abort(l),
begin(l),
begin(l),
end
(l).
commit
(l).
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