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
5f9869d0
Commit
5f9869d0
authored
Nov 07, 2007
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "alternative" instead of "alternate" where it is clearer.
parent
e9d7bd26
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
37 additions
and
37 deletions
+37
-37
contrib/dblink/doc/misc
contrib/dblink/doc/misc
+3
-3
contrib/tsearch2/docs/tsearch2-guide.html
contrib/tsearch2/docs/tsearch2-guide.html
+1
-1
doc/src/sgml/datatype.sgml
doc/src/sgml/datatype.sgml
+2
-2
doc/src/sgml/ecpg.sgml
doc/src/sgml/ecpg.sgml
+2
-2
doc/src/sgml/ref/create_role.sgml
doc/src/sgml/ref/create_role.sgml
+2
-2
doc/src/sgml/ref/create_rule.sgml
doc/src/sgml/ref/create_rule.sgml
+2
-2
src/backend/access/common/heaptuple.c
src/backend/access/common/heaptuple.c
+2
-2
src/backend/access/common/indextuple.c
src/backend/access/common/indextuple.c
+2
-2
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam.c
+2
-2
src/backend/catalog/pg_operator.c
src/backend/catalog/pg_operator.c
+2
-2
src/backend/libpq/README.SSL
src/backend/libpq/README.SSL
+1
-1
src/backend/libpq/be-secure.c
src/backend/libpq/be-secure.c
+2
-2
src/bin/pg_dump/dumputils.c
src/bin/pg_dump/dumputils.c
+2
-2
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_archiver.h
+2
-2
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_dump/pg_dumpall.c
+2
-2
src/include/access/htup.h
src/include/access/htup.h
+2
-2
src/include/utils/datetime.h
src/include/utils/datetime.h
+2
-2
src/pl/tcl/pltcl.c
src/pl/tcl/pltcl.c
+2
-2
src/test/regress/expected/timestamptz.out
src/test/regress/expected/timestamptz.out
+1
-1
src/test/regress/sql/timestamptz.sql
src/test/regress/sql/timestamptz.sql
+1
-1
No files found.
contrib/dblink/doc/misc
View file @
5f9869d0
$PostgreSQL: pgsql/contrib/dblink/doc/misc,v 1.
4 2006/09/02 21:11:15 jo
e Exp $
$PostgreSQL: pgsql/contrib/dblink/doc/misc,v 1.
5 2007/11/07 12:24:23 peter
e Exp $
==================================================================
==================================================================
Name
Name
...
@@ -63,12 +63,12 @@ Name
...
@@ -63,12 +63,12 @@ Name
dblink_build_sql_insert -- builds an insert statement using a local
dblink_build_sql_insert -- builds an insert statement using a local
tuple, replacing the selection key field
tuple, replacing the selection key field
values with alternate supplied values
values with alternat
iv
e supplied values
dblink_build_sql_delete -- builds a delete statement using supplied
dblink_build_sql_delete -- builds a delete statement using supplied
values for selection key field values
values for selection key field values
dblink_build_sql_update -- builds an update statement using a local
dblink_build_sql_update -- builds an update statement using a local
tuple, replacing the selection key field
tuple, replacing the selection key field
values with alternate supplied values
values with alternat
iv
e supplied values
Synopsis
Synopsis
...
...
contrib/tsearch2/docs/tsearch2-guide.html
View file @
5f9869d0
...
@@ -701,7 +701,7 @@ simply as a list of lexemes to be included in the vector.
...
@@ -701,7 +701,7 @@ simply as a list of lexemes to be included in the vector.
Their order was lost,
Their order was lost,
as was the number of times each lexeme appeared.
as was the number of times each lexeme appeared.
You must keep in mind that directly creating vectors with casting
You must keep in mind that directly creating vectors with casting
is
<i>
not
</i>
an alternate means of parsing;
is
<i>
not
</i>
an alternat
iv
e means of parsing;
it is a way of directly entering lexemes into a vector
<i>
without
</i>
parsing.
it is a way of directly entering lexemes into a vector
<i>
without
</i>
parsing.
<p>
<p>
Queries can also be created through casting,
Queries can also be created through casting,
...
...
doc/src/sgml/datatype.sgml
View file @
5f9869d0
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.21
4 2007/11/05 16:45:52 momjian
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.21
5 2007/11/07 12:24:23 petere
Exp $ -->
<chapter id="datatype">
<chapter id="datatype">
<title id="datatype-title">Data Types</title>
<title id="datatype-title">Data Types</title>
...
@@ -1180,7 +1180,7 @@ SELECT b, char_length(b) FROM test2;
...
@@ -1180,7 +1180,7 @@ SELECT b, char_length(b) FROM test2;
general, to escape an octet, it is converted into the three-digit
general, to escape an octet, it is converted into the three-digit
octal number equivalent of its decimal octet value, and preceded
octal number equivalent of its decimal octet value, and preceded
by two backslashes. <xref linkend="datatype-binary-sqlesc">
by two backslashes. <xref linkend="datatype-binary-sqlesc">
shows the characters that must be escaped, and gives the alternate
shows the characters that must be escaped, and gives the alternat
iv
e
escape sequences where applicable.
escape sequences where applicable.
</para>
</para>
...
...
doc/src/sgml/ecpg.sgml
View file @
5f9869d0
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.8
3 2007/04/17 17:30:35 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.8
4 2007/11/07 12:24:23 petere
Exp $ -->
<chapter id="ecpg">
<chapter id="ecpg">
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
...
@@ -1771,7 +1771,7 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
...
@@ -1771,7 +1771,7 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt
<literal>%Ow</literal>
<literal>%Ow</literal>
<literal>%OW</literal>
<literal>%OW</literal>
<literal>%Oy</literal>
<literal>%Oy</literal>
are supposed to provide alternate representations.
are supposed to provide alternat
iv
e representations.
</para>
</para>
<para>
<para>
Additionally <literal>%OB</literal> implemented to represent
Additionally <literal>%OB</literal> implemented to represent
...
...
doc/src/sgml/ref/create_role.sgml
View file @
5f9869d0
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_role.sgml,v 1.
9 2007/01/31 23:26:03 momjian
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/create_role.sgml,v 1.
10 2007/11/07 12:24:23 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -167,7 +167,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be:
...
@@ -167,7 +167,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be:
privileges, but are not users in the usual sense of the word.
privileges, but are not users in the usual sense of the word.
If not specified,
If not specified,
<literal>NOLOGIN</literal> is the default, except when
<literal>NOLOGIN</literal> is the default, except when
<command>CREATE ROLE</> is invoked through its alternate spelling
<command>CREATE ROLE</> is invoked through its alternat
iv
e spelling
<command>CREATE USER</>.
<command>CREATE USER</>.
</para>
</para>
</listitem>
</listitem>
...
...
doc/src/sgml/ref/create_rule.sgml
View file @
5f9869d0
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.5
1 2007/02/01 19:10:24 momjian
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.5
2 2007/11/07 12:24:23 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -39,7 +39,7 @@ CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS
...
@@ -39,7 +39,7 @@ CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS
<para>
<para>
The <productname>PostgreSQL</productname> rule system allows one to
The <productname>PostgreSQL</productname> rule system allows one to
define an alternate action to be performed on insertions, updates,
define an alternat
iv
e action to be performed on insertions, updates,
or deletions in database tables. Roughly speaking, a rule causes
or deletions in database tables. Roughly speaking, a rule causes
additional commands to be executed when a given command on a given
additional commands to be executed when a given command on a given
table is executed. Alternatively, an <literal>INSTEAD</literal>
table is executed. Alternatively, an <literal>INSTEAD</literal>
...
...
src/backend/access/common/heaptuple.c
View file @
5f9869d0
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.11
7 2007/04/06 04:21:41 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.11
8 2007/11/07 12:24:23 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -489,7 +489,7 @@ heap_attisnull(HeapTuple tup, int attnum)
...
@@ -489,7 +489,7 @@ heap_attisnull(HeapTuple tup, int attnum)
*
*
* This caches attribute offsets in the attribute descriptor.
* This caches attribute offsets in the attribute descriptor.
*
*
* An alternate way to speed things up would be to cache offsets
* An alternat
iv
e way to speed things up would be to cache offsets
* with the tuple, but that seems more difficult unless you take
* with the tuple, but that seems more difficult unless you take
* the storage hit of actually putting those offsets into the
* the storage hit of actually putting those offsets into the
* tuple you send to disk. Yuck.
* tuple you send to disk. Yuck.
...
...
src/backend/access/common/indextuple.c
View file @
5f9869d0
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/common/indextuple.c,v 1.8
2 2007/04/06 04:21:41 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/access/common/indextuple.c,v 1.8
3 2007/11/07 12:24:24 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -186,7 +186,7 @@ index_form_tuple(TupleDesc tupleDescriptor,
...
@@ -186,7 +186,7 @@ index_form_tuple(TupleDesc tupleDescriptor,
*
*
* This caches attribute offsets in the attribute descriptor.
* This caches attribute offsets in the attribute descriptor.
*
*
* An alternate way to speed things up would be to cache offsets
* An alternat
iv
e way to speed things up would be to cache offsets
* with the tuple, but that seems more difficult unless you take
* with the tuple, but that seems more difficult unless you take
* the storage hit of actually putting those offsets into the
* the storage hit of actually putting those offsets into the
* tuple you send to disk. Yuck.
* tuple you send to disk. Yuck.
...
...
src/backend/access/heap/heapam.c
View file @
5f9869d0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.24
3 2007/10/16 17:05:26 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.24
4 2007/11/07 12:24:24 petere
Exp $
*
*
*
*
* INTERFACE ROUTINES
* INTERFACE ROUTINES
...
@@ -1056,7 +1056,7 @@ heap_openrv(const RangeVar *relation, LOCKMODE lockmode)
...
@@ -1056,7 +1056,7 @@ heap_openrv(const RangeVar *relation, LOCKMODE lockmode)
/* ----------------
/* ----------------
* heap_beginscan - begin relation scan
* heap_beginscan - begin relation scan
*
*
* heap_beginscan_bm is an alternate entry point for setting up a HeapScanDesc
* heap_beginscan_bm is an alternat
iv
e entry point for setting up a HeapScanDesc
* for a bitmap heap scan. Although that scan technology is really quite
* for a bitmap heap scan. Although that scan technology is really quite
* unlike a standard seqscan, there is just enough commonality to make it
* unlike a standard seqscan, there is just enough commonality to make it
* worth using the same data structure.
* worth using the same data structure.
...
...
src/backend/catalog/pg_operator.c
View file @
5f9869d0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/catalog/pg_operator.c,v 1.10
0 2007/01/05 22:19:25 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/catalog/pg_operator.c,v 1.10
1 2007/11/07 12:24:24 petere
Exp $
*
*
* NOTES
* NOTES
* these routines moved here from commands/define.c and somewhat cleaned up.
* these routines moved here from commands/define.c and somewhat cleaned up.
...
@@ -597,7 +597,7 @@ OperatorCreate(const char *operatorName,
...
@@ -597,7 +597,7 @@ OperatorCreate(const char *operatorName,
/*
/*
* If a commutator and/or negator link is provided, update the other
* If a commutator and/or negator link is provided, update the other
* operator(s) to point at this one, if they don't already have a link.
* operator(s) to point at this one, if they don't already have a link.
* This supports an alternate style of operator definition wherein the
* This supports an alternat
iv
e style of operator definition wherein the
* user first defines one operator without giving negator or commutator,
* user first defines one operator without giving negator or commutator,
* then defines the other operator of the pair with the proper commutator
* then defines the other operator of the pair with the proper commutator
* or negator attribute. That style doesn't require creation of a shell,
* or negator attribute. That style doesn't require creation of a shell,
...
...
src/backend/libpq/README.SSL
View file @
5f9869d0
...
@@ -196,7 +196,7 @@ that establishes an SSH tunnel when the program is launched:
...
@@ -196,7 +196,7 @@ that establishes an SSH tunnel when the program is launched:
/usr/bin/ssh -1 -i $IDENTITY -n $HOST 'sleep 60' & \
/usr/bin/ssh -1 -i $IDENTITY -n $HOST 'sleep 60' & \
/usr/bin/psql -h $HOST -p 5555 $1
/usr/bin/psql -h $HOST -p 5555 $1
Alternately, the system could run a daemon that establishes and maintains
Alternat
iv
ely, the system could run a daemon that establishes and maintains
the tunnel. This is preferrable when multiple users need to establish
the tunnel. This is preferrable when multiple users need to establish
similar tunnels to the same remote site.
similar tunnels to the same remote site.
...
...
src/backend/libpq/be-secure.c
View file @
5f9869d0
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.8
0 2007/05/18 01:20:16 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.8
1 2007/11/07 12:24:24 petere
Exp $
*
*
* Since the server static private key ($DataDir/server.key)
* Since the server static private key ($DataDir/server.key)
* will normally be stored unencrypted so that the database
* will normally be stored unencrypted so that the database
...
@@ -151,7 +151,7 @@ char *SSLCipherSuites = NULL;
...
@@ -151,7 +151,7 @@ char *SSLCipherSuites = NULL;
* unsecured connection without fully informing the user.
* unsecured connection without fully informing the user.
* Very uncool.
* Very uncool.
*
*
* Alternately, the backend could attempt to load these files
* Alternat
iv
ely, the backend could attempt to load these files
* on startup if SSL is enabled - and refuse to start if any
* on startup if SSL is enabled - and refuse to start if any
* do not exist - but this would tend to piss off DBAs.
* do not exist - but this would tend to piss off DBAs.
*
*
...
...
src/bin/pg_dump/dumputils.c
View file @
5f9869d0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/bin/pg_dump/dumputils.c,v 1.3
7 2007/07/10 00:21:31 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/dumputils.c,v 1.3
8 2007/11/07 12:24:24 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -776,7 +776,7 @@ AddAcl(PQExpBuffer aclbuf, const char *keyword)
...
@@ -776,7 +776,7 @@ AddAcl(PQExpBuffer aclbuf, const char *keyword)
* schemavar: name of query variable to match against a schema-name pattern.
* schemavar: name of query variable to match against a schema-name pattern.
* Can be NULL if no schema.
* Can be NULL if no schema.
* namevar: name of query variable to match against an object-name pattern.
* namevar: name of query variable to match against an object-name pattern.
* altnamevar: NULL, or name of an alternate variable to match against name.
* altnamevar: NULL, or name of an alternat
iv
e variable to match against name.
* visibilityrule: clause to use if we want to restrict to visible objects
* visibilityrule: clause to use if we want to restrict to visible objects
* (for example, "pg_catalog.pg_table_is_visible(p.oid)"). Can be NULL.
* (for example, "pg_catalog.pg_table_is_visible(p.oid)"). Can be NULL.
*
*
...
...
src/bin/pg_dump/pg_backup_archiver.h
View file @
5f9869d0
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.h,v 1.7
5 2007/02/19 15:05:06 mha
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.h,v 1.7
6 2007/11/07 12:24:24 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -225,7 +225,7 @@ typedef struct _archiveHandle
...
@@ -225,7 +225,7 @@ typedef struct _archiveHandle
StartBlobPtr
StartBlobPtr
;
StartBlobPtr
StartBlobPtr
;
EndBlobPtr
EndBlobPtr
;
EndBlobPtr
EndBlobPtr
;
CustomOutPtr
CustomOutPtr
;
/* Alternate script output routine */
CustomOutPtr
CustomOutPtr
;
/* Alternat
iv
e script output routine */
/* Stuff for direct DB connection */
/* Stuff for direct DB connection */
char
*
archdbname
;
/* DB name *read* from archive */
char
*
archdbname
;
/* DB name *read* from archive */
...
...
src/bin/pg_dump/pg_dumpall.c
View file @
5f9869d0
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
*
*
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.9
4 2007/10/28 21:55:52 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.9
5 2007/11/07 12:24:24 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -507,7 +507,7 @@ help(void)
...
@@ -507,7 +507,7 @@ help(void)
printf
(
_
(
"
\n
Connection options:
\n
"
));
printf
(
_
(
"
\n
Connection options:
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host or socket directory
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host or socket directory
\n
"
));
printf
(
_
(
" -l, --database=dbname specify an alternate default database
\n
"
));
printf
(
_
(
" -l, --database=dbname specify an alternat
iv
e default database
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port number
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port number
\n
"
));
printf
(
_
(
" -U, --username=NAME connect as specified database user
\n
"
));
printf
(
_
(
" -U, --username=NAME connect as specified database user
\n
"
));
printf
(
_
(
" -W, --password force password prompt (should happen automatically)
\n
"
));
printf
(
_
(
" -W, --password force password prompt (should happen automatically)
\n
"
));
...
...
src/include/access/htup.h
View file @
5f9869d0
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/include/access/htup.h,v 1.9
4 2007/09/20 17:56:32 tgl
Exp $
* $PostgreSQL: pgsql/src/include/access/htup.h,v 1.9
5 2007/11/07 12:24:24 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -406,7 +406,7 @@ do { \
...
@@ -406,7 +406,7 @@ do { \
/*
/*
* MinimalTuple is an alternate representation that is used for transient
* MinimalTuple is an alternat
iv
e representation that is used for transient
* tuples inside the executor, in places where transaction status information
* tuples inside the executor, in places where transaction status information
* is not required, the tuple rowtype is known, and shaving off a few bytes
* is not required, the tuple rowtype is known, and shaving off a few bytes
* is worthwhile because we need to store many tuples. The representation
* is worthwhile because we need to store many tuples. The representation
...
...
src/include/utils/datetime.h
View file @
5f9869d0
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.6
7 2007/06/12 16:01:31 tgl
Exp $
* $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.6
8 2007/11/07 12:24:24 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
* String definitions for standard time quantities.
* String definitions for standard time quantities.
*
*
* These strings are the defaults used to form output time strings.
* These strings are the defaults used to form output time strings.
* Other alternate forms are hardcoded into token tables in datetime.c.
* Other alternat
iv
e forms are hardcoded into token tables in datetime.c.
* ----------------------------------------------------------------
* ----------------------------------------------------------------
*/
*/
...
...
src/pl/tcl/pltcl.c
View file @
5f9869d0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* pltcl.c - PostgreSQL support for Tcl as
* pltcl.c - PostgreSQL support for Tcl as
* procedural language (PL)
* procedural language (PL)
*
*
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.11
5 2007/10/05 17:06:11 tgl
Exp $
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.11
6 2007/11/07 12:24:24 petere
Exp $
*
*
**********************************************************************/
**********************************************************************/
...
@@ -505,7 +505,7 @@ pltcl_call_handler(PG_FUNCTION_ARGS)
...
@@ -505,7 +505,7 @@ pltcl_call_handler(PG_FUNCTION_ARGS)
/*
/*
* Alternate handler for unsafe functions
* Alternat
iv
e handler for unsafe functions
*/
*/
PG_FUNCTION_INFO_V1
(
pltclu_call_handler
);
PG_FUNCTION_INFO_V1
(
pltclu_call_handler
);
...
...
src/test/regress/expected/timestamptz.out
View file @
5f9869d0
...
@@ -153,7 +153,7 @@ INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 16 17:32:01 -0097');
...
@@ -153,7 +153,7 @@ INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 16 17:32:01 -0097');
ERROR: time zone displacement out of range: "Feb 16 17:32:01 -0097"
ERROR: time zone displacement out of range: "Feb 16 17:32:01 -0097"
INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 16 17:32:01 5097 BC');
INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 16 17:32:01 5097 BC');
ERROR: timestamp out of range: "Feb 16 17:32:01 5097 BC"
ERROR: timestamp out of range: "Feb 16 17:32:01 5097 BC"
-- Alternate field order that we've historically supported (sort of)
-- Alternat
iv
e field order that we've historically supported (sort of)
-- with regular and POSIXy timezone specs
-- with regular and POSIXy timezone specs
SELECT 'Wed Jul 11 10:51:14 America/New_York 2001'::timestamptz;
SELECT 'Wed Jul 11 10:51:14 America/New_York 2001'::timestamptz;
timestamptz
timestamptz
...
...
src/test/regress/sql/timestamptz.sql
View file @
5f9869d0
...
@@ -127,7 +127,7 @@ INSERT INTO TIMESTAMPTZ_TBL VALUES ('Jan 01 17:32:01 2001');
...
@@ -127,7 +127,7 @@ INSERT INTO TIMESTAMPTZ_TBL VALUES ('Jan 01 17:32:01 2001');
INSERT
INTO
TIMESTAMPTZ_TBL
VALUES
(
'Feb 16 17:32:01 -0097'
);
INSERT
INTO
TIMESTAMPTZ_TBL
VALUES
(
'Feb 16 17:32:01 -0097'
);
INSERT
INTO
TIMESTAMPTZ_TBL
VALUES
(
'Feb 16 17:32:01 5097 BC'
);
INSERT
INTO
TIMESTAMPTZ_TBL
VALUES
(
'Feb 16 17:32:01 5097 BC'
);
-- Alternate field order that we've historically supported (sort of)
-- Alternat
iv
e field order that we've historically supported (sort of)
-- with regular and POSIXy timezone specs
-- with regular and POSIXy timezone specs
SELECT
'Wed Jul 11 10:51:14 America/New_York 2001'
::
timestamptz
;
SELECT
'Wed Jul 11 10:51:14 America/New_York 2001'
::
timestamptz
;
SELECT
'Wed Jul 11 10:51:14 GMT-4 2001'
::
timestamptz
;
SELECT
'Wed Jul 11 10:51:14 GMT-4 2001'
::
timestamptz
;
...
...
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