Skip to content

Commit 7a34a80

Browse files
author
ANJU BHARTI
committed
Fix build failures in Babelfish
1 parent cb62435 commit 7a34a80

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/backend/commands/tablecmds.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19233,6 +19233,7 @@ AlterRelationNamespaceInternal(Relation classRel, Oid relOid,
1923319233
changeDependencyFor(RelationRelationId,
1923419234
relOid,
1923519235
NamespaceRelationId,
19236+
oldNspOid,
1923619237
newNspOid) != 1)
1923719238
elog(ERROR, "could not change schema dependency for relation \"%s\"",
1923819239
NameStr(classForm->relname));

src/backend/executor/execMain.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
#include "parser/parse_relation.h"
5757
#include "pgstat.h"
5858
#include "rewrite/rewriteHandler.h"
59+
#include "storage/lmgr.h"
5960
#include "tcop/utility.h"
6061
#include "utils/acl.h"
6162
#include "utils/backend_status.h"

src/backend/utils/adt/like_match.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ MatchText(const char *t, int tlen, const char *p, int plen, pg_locale_t locale)
190190
ereport(ERROR,
191191
(errcode(ERRCODE_INVALID_ESCAPE_SEQUENCE),
192192
errmsg("LIKE pattern must not end with escape character")));
193-
firstpat = GETCHAR(p[esc_len]);
193+
firstpat = GETCHAR(p[esc_len], locale);
194194
}
195195
else
196196
firstpat = GETCHAR(*p, locale);

0 commit comments

Comments
 (0)