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
6450bef6
Commit
6450bef6
authored
Nov 27, 1996
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert ' to " in dates. Update example code to show empty query as "".
parent
c9ec4506
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/man/libpq.3
src/man/libpq.3
+2
-2
src/man/sql.l
src/man/sql.l
+6
-6
No files found.
src/man/libpq.3
View file @
6450bef6
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.
2 1996/11/15 17:55:30
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.
3 1996/11/27 13:49:44
momjian Exp $
.TH LIBPQ INTRO 03/12/94 Postgres95 Postgres95
.SH DESCRIPTION
Libpq is the programmer's interface to Postgres. Libpq is a set of
...
...
@@ -788,7 +788,7 @@ main()
while (1) {
/* async notification only come back as a result of a query*/
/* we can send empty queries */
res = PQexec(conn, "
");
res = PQexec(conn, "");
/* printf("res->status = %s\\n", pgresStatus[PQresultStatus(res)]); */
/* check for asynchronous returns */
notify = PQnotifies(conn);
...
...
src/man/sql.l
View file @
6450bef6
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/sql.l,v 1.
1 1996/11/14 10:18:04 scrappy
Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/sql.l,v 1.
2 1996/11/27 13:49:46 momjian
Exp $
.TH INTRODUCTION SQL 11/5/95 Postgres95 Postgres95
.SH "Section 4 \(em SQL Commands (COMMANDS)"
.SH "General Information"
...
...
@@ -311,8 +311,8 @@ A
.IR "time expression"
is in one of two forms:
.nf
[
'date'
]
[
'date-1', 'date-2'
]
[
"date"
]
[
"date-1", "date-2"
]
.fi
The first case requires instances that are valid at the indicated
time. The second case requires instances that are valid at some time
...
...
@@ -321,7 +321,7 @@ the default is \*(lqnow\*(rq.
.PP
In each case, the date is a character string of the form
.nf
[MON-FRI] 'MMM DD [HH:MM:SS] YYYY' [Timezone]
"[MON-FRI] MMM DD [HH:MM:SS] YYYY [Timezone]"
.fi
where MMM is the month (Jan \- Dec), DD is a legal day number in the
specified month, HH:MM:SS is an optional time in that day (24-hour
...
...
@@ -333,8 +333,8 @@ local time zone.
.PP
For example,
.nf
[
'Jan 1 1990'
]
[
'Mar 3 00:00:00 1980', 'Mar 3 23:59:59 1981r'
]
[
"Jan 1 1990"
]
[
"Mar 3 00:00:00 1980", "Mar 3 23:59:59 1981"
]
.fi
are valid time specifications.
.PP
...
...
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