Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6450bef

Browse files
committed
Convert ' to " in dates. Update example code to show empty query as "".
1 parentc9ec450 commit6450bef

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎src/man/libpq.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.2 1996/11/15 17:55:30 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.3 1996/11/27 13:49:44 momjian Exp $
44
.TH LIBPQ INTRO 03/12/94 Postgres95 Postgres95
55
.SH DESCRIPTION
66
Libpq is the programmer's interface to Postgres. Libpq is a set of
@@ -788,7 +788,7 @@ main()
788788
while (1) {
789789
/* async notification only come back as a result of a query*/
790790
/* we can send empty queries */
791-
res = PQexec(conn, "");
791+
res = PQexec(conn, "");
792792
/* printf("res->status = %s\\n", pgresStatus[PQresultStatus(res)]); */
793793
/* check for asynchronous returns */
794794
notify = PQnotifies(conn);

‎src/man/sql.l

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/sql.l,v 1.1 1996/11/14 10:18:04 scrappy Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/sql.l,v 1.2 1996/11/27 13:49:46 momjian Exp $
44
.TH INTRODUCTION SQL 11/5/95 Postgres95 Postgres95
55
.SH "Section 4\(em SQL Commands (COMMANDS)"
66
.SH "General Information"
@@ -311,8 +311,8 @@ A
311311
.IR"time expression"
312312
is in one of two forms:
313313
.nf
314-
['date']
315-
['date-1', 'date-2']
314+
["date"]
315+
["date-1", "date-2"]
316316
.fi
317317
The first case requires instances that are valid at the indicated
318318
time. The second case requires instances that are valid at some time
@@ -321,7 +321,7 @@ the default is \*(lqnow\*(rq.
321321
.PP
322322
In each case, the date is a character string of the form
323323
.nf
324-
[MON-FRI]'MMM DD [HH:MM:SS] YYYY' [Timezone]
324+
"[MON-FRI] MMM DD [HH:MM:SS] YYYY [Timezone]"
325325
.fi
326326
where MMM is the month (Jan\- Dec), DD is a legal day number in the
327327
specified month, HH:MM:SS is an optional time in that day (24-hour
@@ -333,8 +333,8 @@ local time zone.
333333
.PP
334334
For example,
335335
.nf
336-
['Jan 1 1990']
337-
['Mar 3 00:00:00 1980', 'Mar 3 23:59:591981r']
336+
["Jan 1 1990"]
337+
["Mar 3 00:00:00 1980", "Mar 3 23:59:591981"]
338338
.fi
339339
are valid time specifications.
340340
.PP

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp