Skip to content

Commit 167529f

Browse files
committed
Disable fix. Didn't work.
1 parent c0d9796 commit 167529f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/backend/catalog/heap.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.82 1999/05/21 18:31:04 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.83 1999/05/21 18:33:12 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -1543,14 +1543,16 @@ StoreAttrDefault(Relation rel, AttrDefault *attrdef)
15431543
* length on the disk, requiring non-bpchar types to be padded
15441544
* before storage in the default table. bjm 1999/05/18
15451545
*/
1546-
if (atp->atttypid == BPCHAROID &&
1546+
if (1==0 && atp->atttypid == BPCHAROID &&
15471547
(type == TEXTOID || type == BPCHAROID || type == UNKNOWNOID))
15481548
{
1549+
15491550
FuncCall *n = makeNode(FuncCall);
15501551

15511552
n->funcname = typeidTypeName(atp->atttypid);
15521553
n->args = lcons((Node *)expr, NIL);
15531554
expr = transformExpr(NULL, (Node *) n, EXPR_COLUMN_FIRST);
1555+
15541556
}
15551557
else if (IS_BINARY_COMPATIBLE(type, atp->atttypid))
15561558
; /* use without change */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy