mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Convert ' to " in dates. Update example code to show empty query as "".
This commit is contained in:
parent
c9ec45062a
commit
6450bef6ec
@ -1,6 +1,6 @@
|
|||||||
.\" 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.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
|
.TH LIBPQ INTRO 03/12/94 Postgres95 Postgres95
|
||||||
.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
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
.\" This is -*-nroff-*-
|
.\" This is -*-nroff-*-
|
||||||
.\" XXX standard disclaimer belongs here....
|
.\" 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
|
.TH INTRODUCTION SQL 11/5/95 Postgres95 Postgres95
|
||||||
.SH "Section 4 \(em SQL Commands (COMMANDS)"
|
.SH "Section 4 \(em SQL Commands (COMMANDS)"
|
||||||
.SH "General Information"
|
.SH "General Information"
|
||||||
@ -311,8 +311,8 @@ A
|
|||||||
.IR "time expression"
|
.IR "time expression"
|
||||||
is in one of two forms:
|
is in one of two forms:
|
||||||
.nf
|
.nf
|
||||||
['date']
|
["date"]
|
||||||
['date-1', 'date-2']
|
["date-1", "date-2"]
|
||||||
.fi
|
.fi
|
||||||
The first case requires instances that are valid at the indicated
|
The first case requires instances that are valid at the indicated
|
||||||
time. The second case requires instances that are valid at some time
|
time. The second case requires instances that are valid at some time
|
||||||
@ -321,7 +321,7 @@ the default is \*(lqnow\*(rq.
|
|||||||
.PP
|
.PP
|
||||||
In each case, the date is a character string of the form
|
In each case, the date is a character string of the form
|
||||||
.nf
|
.nf
|
||||||
[MON-FRI] 'MMM DD [HH:MM:SS] YYYY' [Timezone]
|
"[MON-FRI] MMM DD [HH:MM:SS] YYYY [Timezone]"
|
||||||
.fi
|
.fi
|
||||||
where MMM is the month (Jan \- Dec), DD is a legal day number in the
|
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
|
specified month, HH:MM:SS is an optional time in that day (24-hour
|
||||||
@ -333,8 +333,8 @@ local time zone.
|
|||||||
.PP
|
.PP
|
||||||
For example,
|
For example,
|
||||||
.nf
|
.nf
|
||||||
['Jan 1 1990']
|
["Jan 1 1990"]
|
||||||
['Mar 3 00:00:00 1980', 'Mar 3 23:59:59 1981r']
|
["Mar 3 00:00:00 1980", "Mar 3 23:59:59 1981"]
|
||||||
.fi
|
.fi
|
||||||
are valid time specifications.
|
are valid time specifications.
|
||||||
.PP
|
.PP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user