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
23bd7791
Commit
23bd7791
authored
Dec 15, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change ET_WARN to ET_NOTICE to match internal codes, leave message as
WARNING. Fix German FAQ mention about warning.
parent
7d6af50f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
20 deletions
+20
-20
doc/FAQ_german
doc/FAQ_german
+1
-1
doc/src/FAQ/FAQ_german.html
doc/src/FAQ/FAQ_german.html
+1
-1
src/bin/pgaccess/lib/help/create_database.hlp
src/bin/pgaccess/lib/help/create_database.hlp
+1
-1
src/interfaces/ecpg/preproc/descriptor.c
src/interfaces/ecpg/preproc/descriptor.c
+5
-5
src/interfaces/ecpg/preproc/pgc.l
src/interfaces/ecpg/preproc/pgc.l
+3
-3
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+8
-8
src/interfaces/ecpg/preproc/type.h
src/interfaces/ecpg/preproc/type.h
+1
-1
No files found.
doc/FAQ_german
View file @
23bd7791
...
...
@@ -515,7 +515,7 @@
* überprüfe, daß keine Binaries vorheriger Versionen in Deinem Pfad
(PATH-Variable) sind. (Wenn Du die Meldung siehst:
WARN
:heap_modifytuple: repl is \ 9, ist das das Problem.)
NOTICE
:heap_modifytuple: repl is \ 9, ist das das Problem.)
* überprüfe, daß der Pfad richtig gesetzt ist
* überprüfe, ob der User postgres der Eigentümer der entsprechenden
Dateien ist
...
...
doc/src/FAQ/FAQ_german.html
View file @
23bd7791
...
...
@@ -540,7 +540,7 @@ Wir haben:
<LI>
ü
berpr
ü
fe, da
ß
keine Binaries vorheriger Versionen in Deinem Pfad
(PATH-Variable) sind.
(Wenn Du die Meldung siehst:
<CODE>
WARN
:heap_modifytuple: repl is \ 9
</CODE>
, ist das das Problem.)
(Wenn Du die Meldung siehst:
<CODE>
NOTICE
:heap_modifytuple: repl is \ 9
</CODE>
, ist das das Problem.)
<Li>
ü
berpr
ü
fe, da
ß
der Pfad richtig gesetzt ist
<LI>
ü
berpr
ü
fe, ob der User
<I>
postgres
</I>
der Eigent
ü
mer der entsprechenden Dateien ist
</UL><P>
...
...
src/bin/pgaccess/lib/help/create_database.hlp
View file @
23bd7791
...
...
@@ -18,7 +18,7 @@ CREATE DATABASE name \[ WITH LOCATION = 'dbpath' \]
" {} "CREATEDB" {italic} "
Message returned if the command completes successfully.
" {} "
WARN
: createdb: database \"name\" already exists." {italic} "
" {} "
NOTICE
: createdb: database \"name\" already exists." {italic} "
This occurs if database specified already exists.
" {} "ERROR: Unable to create database directory directory" {italic} "
...
...
src/interfaces/ecpg/preproc/descriptor.c
View file @
23bd7791
...
...
@@ -109,7 +109,7 @@ drop_descriptor(char *name, char *connection)
}
}
snprintf
(
errortext
,
sizeof
errortext
,
"unknown descriptor %s"
,
name
);
mmerror
(
ET_
WARN
,
errortext
);
mmerror
(
ET_
NOTICE
,
errortext
);
}
struct
descriptor
...
...
@@ -128,7 +128,7 @@ struct descriptor
}
}
snprintf
(
errortext
,
sizeof
errortext
,
"unknown descriptor %s"
,
name
);
mmerror
(
ET_
WARN
,
errortext
);
mmerror
(
ET_
NOTICE
,
errortext
);
return
NULL
;
}
...
...
@@ -145,7 +145,7 @@ output_get_descr_header(char *desc_name)
else
{
snprintf
(
errortext
,
sizeof
errortext
,
"unknown descriptor header item '%d'"
,
results
->
value
);
mmerror
(
ET_
WARN
,
errortext
);
mmerror
(
ET_
NOTICE
,
errortext
);
}
}
...
...
@@ -167,10 +167,10 @@ output_get_descr(char *desc_name, char *index)
switch
(
results
->
value
)
{
case
ECPGd_nullable
:
mmerror
(
ET_
WARN
,
"nullable is always 1"
);
mmerror
(
ET_
NOTICE
,
"nullable is always 1"
);
break
;
case
ECPGd_key_member
:
mmerror
(
ET_
WARN
,
"key_member is always 0"
);
mmerror
(
ET_
NOTICE
,
"key_member is always 0"
);
break
;
default:
break
;
...
...
src/interfaces/ecpg/preproc/pgc.l
View file @
23bd7791
...
...
@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.
69 2000/12/03 20:45:38 tgl
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.
70 2000/12/15 20:01:55 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -392,7 +392,7 @@ cppline {space}*#(.*\\{line_end})*.*
literalbuf, NAMEDATALEN-1, literalbuf);
literalbuf[NAMEDATALEN-1] = '\0';
#endif
mmerror(ET_
WARN
, errortext);
mmerror(ET_
NOTICE
, errortext);
}
yylval.str = mm_strdup(literalbuf);
...
...
@@ -554,7 +554,7 @@ cppline {space}*#(.*\\{line_end})*.*
lower_text, NAMEDATALEN-1, lower_text);
lower_text[NAMEDATALEN-1] = '\0';
#endif
mmerror(ET_
WARN
, errortext);
mmerror(ET_
NOTICE
, errortext);
yytext[NAMEDATALEN-1] = '\0';
}
...
...
src/interfaces/ecpg/preproc/preproc.y
View file @
23bd7791
...
...
@@ -42,7 +42,7 @@ mmerror(enum errortype type, char * error)
{
switch(type)
{
case ET_
WARN
:
case ET_
NOTICE
:
fprintf(stderr, "%s:%d: WARNING: %s\n", input_filename, yylineno, error);
break;
case ET_ERROR:
...
...
@@ -1124,7 +1124,7 @@ columnDef: ColId Typename ColQualList opt_collate
if (strlen($4) > 0)
{
sprintf(errortext, "CREATE TABLE/COLLATE %s not yet implemented; clause ignored", $4);
mmerror(ET_
WARN
, errortext);
mmerror(ET_
NOTICE
, errortext);
}
$$ = cat_str(4, $1, $2, $3, $4);
}
...
...
@@ -1133,7 +1133,7 @@ columnDef: ColId Typename ColQualList opt_collate
if (strlen($4) > 0)
{
sprintf(errortext, "CREATE TABLE/COLLATE %s not yet implemented; clause ignored", $4);
mmerror(ET_
WARN
, errortext);
mmerror(ET_
NOTICE
, errortext);
}
$$ = cat_str(4, $1, make_str(" serial "), $3, $4);
}
...
...
@@ -1248,7 +1248,7 @@ key_match: MATCH FULL
}
| MATCH PARTIAL
{
mmerror(ET_
WARN
, "FOREIGN KEY/MATCH PARTIAL not yet implemented");
mmerror(ET_
NOTICE
, "FOREIGN KEY/MATCH PARTIAL not yet implemented");
$$ = make_str("match partial");
}
| /*EMPTY*/
...
...
@@ -1651,7 +1651,7 @@ direction: FORWARD { $$ = make_str("forward"); }
| BACKWARD { $$ = make_str("backward"); }
| RELATIVE { $$ = make_str("relative"); }
| ABSOLUTE {
mmerror(ET_
WARN
, "FETCH/ABSOLUTE not supported, backend will use RELATIVE");
mmerror(ET_
NOTICE
, "FETCH/ABSOLUTE not supported, backend will use RELATIVE");
$$ = make_str("absolute");
}
;
...
...
@@ -3512,7 +3512,7 @@ c_expr: attr
if (atol($3) != 0)
{
sprintf(errortext, "CURRENT_TIME(%s) precision not implemented; backend will use zero instead", $3);
mmerror(ET_
WARN
, errortext);
mmerror(ET_
NOTICE
, errortext);
}
$$ = make_str("current_time");
...
...
@@ -3524,7 +3524,7 @@ c_expr: attr
if (atol($3) != 0)
{
sprintf(errortext, "CURRENT_TIMESTAMP(%s) precision not implemented; backend will use zero instead", $3);
mmerror(ET_
WARN
, errortext);
mmerror(ET_
NOTICE
, errortext);
}
$$ = make_str("current_timestamp");
...
...
@@ -3664,7 +3664,7 @@ case_expr: CASE case_arg when_clause_list case_default END_TRANS
{
$$ = cat_str(5, make_str("nullif("), $3, make_str(","), $5, make_str(")"));
mmerror(ET_
WARN
, "NULLIF() not yet fully implemented");
mmerror(ET_
NOTICE
, "NULLIF() not yet fully implemented");
}
| COALESCE '(' expr_list ')'
{
...
...
src/interfaces/ecpg/preproc/type.h
View file @
23bd7791
...
...
@@ -155,7 +155,7 @@ struct assignment
enum
errortype
{
ET_
WARN
,
ET_ERROR
,
ET_FATAL
ET_
NOTICE
,
ET_ERROR
,
ET_FATAL
};
struct
fetch_desc
...
...
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