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
2969c01d
Commit
2969c01d
authored
Oct 27, 2000
by
Tatsuo Ishii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove gcc-only macro definition
parent
063c0f6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
src/backend/utils/mb/conv.c
src/backend/utils/mb/conv.c
+13
-1
src/include/mb/pg_wchar.h
src/include/mb/pg_wchar.h
+2
-2
No files found.
src/backend/utils/mb/conv.c
View file @
2969c01d
...
...
@@ -6,7 +6,7 @@
* WIN1250 client encoding support contributed by Pavel Behal
* SJIS UDC (NEC selection IBM kanji) support contributed by Eiji Tokuya
*
* $Id: conv.c,v 1.1
8 2000/10/12 06:06:50
ishii Exp $
* $Id: conv.c,v 1.1
9 2000/10/27 02:23:51
ishii Exp $
*
*
*/
...
...
@@ -16,6 +16,18 @@
#include "mb/pg_wchar.h"
/*
* XXX dummy elog() function for frontend only. Note that elog would
* never be called from frontend, but to avoid the linking errors we
* have to do it anyway. In the future, we should consider reorganizing
* sources in this directory to avoid this kind of ugliness...
*/
#ifdef FRONTEND
static
void
elog
(
int
lev
,
const
char
*
fmt
,
...)
{}
#endif
/*
* for Unicode (UTF-8) support
*/
...
...
src/include/mb/pg_wchar.h
View file @
2969c01d
/* $Id: pg_wchar.h,v 1.2
0 2000/10/25 19:44:43 tgl
Exp $ */
/* $Id: pg_wchar.h,v 1.2
1 2000/10/27 02:21:15 ishii
Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
...
...
@@ -7,9 +7,9 @@
#include <sys/types.h>
#ifdef FRONTEND
#define elog(X...)
#undef palloc
#define palloc malloc
# undef pfree
#define pfree free
#endif
...
...
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