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
f5f1355d
Commit
f5f1355d
authored
Dec 27, 2007
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wording improvements
parent
a82cfcb9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
14 deletions
+14
-14
src/backend/tsearch/ts_utils.c
src/backend/tsearch/ts_utils.c
+3
-3
src/backend/utils/adt/tsquery.c
src/backend/utils/adt/tsquery.c
+2
-2
src/backend/utils/adt/tsquery_cleanup.c
src/backend/utils/adt/tsquery_cleanup.c
+2
-2
src/backend/utils/adt/tsvector_op.c
src/backend/utils/adt/tsvector_op.c
+3
-3
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+2
-2
src/port/open.c
src/port/open.c
+2
-2
No files found.
src/backend/tsearch/ts_utils.c
View file @
f5f1355d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tsearch/ts_utils.c,v 1.
7 2007/11/15 22:25:16 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/tsearch/ts_utils.c,v 1.
8 2007/12/27 13:02:48 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -69,7 +69,7 @@ comparestr(const void *a, const void *b)
...
@@ -69,7 +69,7 @@ comparestr(const void *a, const void *b)
}
}
/*
/*
* Reads a stopword file. Each word is run through 'wordop'
* Reads a stop
-
word file. Each word is run through 'wordop'
* function, if given. wordop may either modify the input in-place,
* function, if given. wordop may either modify the input in-place,
* or palloc a new version.
* or palloc a new version.
*/
*/
...
@@ -89,7 +89,7 @@ readstoplist(const char *fname, StopList *s, char *(*wordop) (const char *))
...
@@ -89,7 +89,7 @@ readstoplist(const char *fname, StopList *s, char *(*wordop) (const char *))
if
((
hin
=
AllocateFile
(
filename
,
"r"
))
==
NULL
)
if
((
hin
=
AllocateFile
(
filename
,
"r"
))
==
NULL
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_CONFIG_FILE_ERROR
),
(
errcode
(
ERRCODE_CONFIG_FILE_ERROR
),
errmsg
(
"could not open stopword file
\"
%s
\"
: %m"
,
errmsg
(
"could not open stop
-
word file
\"
%s
\"
: %m"
,
filename
)));
filename
)));
while
((
line
=
t_readline
(
hin
))
!=
NULL
)
while
((
line
=
t_readline
(
hin
))
!=
NULL
)
...
...
src/backend/utils/adt/tsquery.c
View file @
f5f1355d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/tsquery.c,v 1.1
2 2007/11/28 21:56:30 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/tsquery.c,v 1.1
3 2007/12/27 13:02:48 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -498,7 +498,7 @@ parse_tsquery(char *buf,
...
@@ -498,7 +498,7 @@ parse_tsquery(char *buf,
if
(
list_length
(
state
.
polstr
)
==
0
)
if
(
list_length
(
state
.
polstr
)
==
0
)
{
{
ereport
(
NOTICE
,
ereport
(
NOTICE
,
(
errmsg
(
"t
search query doesn't contain lexeme(s)
:
\"
%s
\"
"
,
(
errmsg
(
"t
ext-search query doesn't contain lexemes
:
\"
%s
\"
"
,
state
.
buffer
)));
state
.
buffer
)));
query
=
(
TSQuery
)
palloc
(
HDRSIZETQ
);
query
=
(
TSQuery
)
palloc
(
HDRSIZETQ
);
SET_VARSIZE
(
query
,
HDRSIZETQ
);
SET_VARSIZE
(
query
,
HDRSIZETQ
);
...
...
src/backend/utils/adt/tsquery_cleanup.c
View file @
f5f1355d
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/tsquery_cleanup.c,v 1.
8 2007/11/28 21:56:30 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/tsquery_cleanup.c,v 1.
9 2007/12/27 13:02:48 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -282,7 +282,7 @@ clean_fakeval(QueryItem *ptr, int *len)
...
@@ -282,7 +282,7 @@ clean_fakeval(QueryItem *ptr, int *len)
if
(
result
!=
V_UNKNOWN
)
if
(
result
!=
V_UNKNOWN
)
{
{
ereport
(
NOTICE
,
ereport
(
NOTICE
,
(
errmsg
(
"
query contains only stopword(s) or doesn't contain lexeme(s)
, ignored"
)));
(
errmsg
(
"
text-search query contains only stop words or doesn't contain lexemes
, ignored"
)));
*
len
=
0
;
*
len
=
0
;
return
NULL
;
return
NULL
;
}
}
...
...
src/backend/utils/adt/tsvector_op.c
View file @
f5f1355d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.1
0 2007/11/28 21:56:30 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.1
1 2007/12/27 13:02:48 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1324,7 +1324,7 @@ tsvector_update_trigger(PG_FUNCTION_ARGS, bool config_column)
...
@@ -1324,7 +1324,7 @@ tsvector_update_trigger(PG_FUNCTION_ARGS, bool config_column)
if
(
config_attr_num
==
SPI_ERROR_NOATTRIBUTE
)
if
(
config_attr_num
==
SPI_ERROR_NOATTRIBUTE
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_UNDEFINED_COLUMN
),
(
errcode
(
ERRCODE_UNDEFINED_COLUMN
),
errmsg
(
"config column
\"
%s
\"
does not exist"
,
errmsg
(
"config
uration
column
\"
%s
\"
does not exist"
,
trigger
->
tgargs
[
1
])));
trigger
->
tgargs
[
1
])));
if
(
SPI_gettypeid
(
rel
->
rd_att
,
config_attr_num
)
!=
REGCONFIGOID
)
if
(
SPI_gettypeid
(
rel
->
rd_att
,
config_attr_num
)
!=
REGCONFIGOID
)
ereport
(
ERROR
,
ereport
(
ERROR
,
...
@@ -1336,7 +1336,7 @@ tsvector_update_trigger(PG_FUNCTION_ARGS, bool config_column)
...
@@ -1336,7 +1336,7 @@ tsvector_update_trigger(PG_FUNCTION_ARGS, bool config_column)
if
(
isnull
)
if
(
isnull
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_NULL_VALUE_NOT_ALLOWED
),
(
errcode
(
ERRCODE_NULL_VALUE_NOT_ALLOWED
),
errmsg
(
"config
column
\"
%s
\"
must not be NULL
"
,
errmsg
(
"config
uration column
\"
%s
\"
must not be null
"
,
trigger
->
tgargs
[
1
])));
trigger
->
tgargs
[
1
])));
cfgId
=
DatumGetObjectId
(
datum
);
cfgId
=
DatumGetObjectId
(
datum
);
}
}
...
...
src/backend/utils/misc/guc.c
View file @
f5f1355d
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.42
6 2007/11/15 21:14:41 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.42
7 2007/12/27 13:02:48 petere
Exp $
*
*
*--------------------------------------------------------------------
*--------------------------------------------------------------------
*/
*/
...
@@ -2024,7 +2024,7 @@ static struct config_string ConfigureNamesString[] =
...
@@ -2024,7 +2024,7 @@ static struct config_string ConfigureNamesString[] =
{
"session_replication_role"
,
PGC_SUSET
,
CLIENT_CONN_STATEMENT
,
{
"session_replication_role"
,
PGC_SUSET
,
CLIENT_CONN_STATEMENT
,
gettext_noop
(
"Sets the sessions behavior for triggers and rewrite rules."
),
gettext_noop
(
"Sets the sessions behavior for triggers and rewrite rules."
),
gettext_noop
(
"Each session can be either"
gettext_noop
(
"Each session can be either"
"
\"
origin
\"
,
\"
replica
\"
or
\"
local
\"
."
)
"
\"
origin
\"
,
\"
replica
\"
,
or
\"
local
\"
."
)
},
},
&
session_replication_role_string
,
&
session_replication_role_string
,
"origin"
,
assign_session_replication_role
,
NULL
"origin"
,
assign_session_replication_role
,
NULL
...
...
src/port/open.c
View file @
f5f1355d
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/port/open.c,v 1.2
3 2007/12/20 20:27:53 mha
Exp $
* $PostgreSQL: pgsql/src/port/open.c,v 1.2
4 2007/12/27 13:02:48 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -111,7 +111,7 @@ pgwin32_open(const char *fileName, int fileFlags,...)
...
@@ -111,7 +111,7 @@ pgwin32_open(const char *fileName, int fileFlags,...)
(
errmsg
(
"could not open file
\"
%s
\"
: %s"
,
fileName
,
(
errmsg
(
"could not open file
\"
%s
\"
: %s"
,
fileName
,
(
err
==
ERROR_SHARING_VIOLATION
)
?
_
(
"sharing violation"
)
:
_
(
"lock violation"
)),
(
err
==
ERROR_SHARING_VIOLATION
)
?
_
(
"sharing violation"
)
:
_
(
"lock violation"
)),
errdetail
(
"Continuing to retry for 30 seconds."
),
errdetail
(
"Continuing to retry for 30 seconds."
),
errhint
(
"You may have antivirus, backup
or similar software interfering with the database
."
)));
errhint
(
"You may have antivirus, backup
, or similar software interfering with the database system
."
)));
#endif
#endif
if
(
loops
<
300
)
if
(
loops
<
300
)
...
...
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