멀티모듈 인프라: schema.d/ 분리 + acq.fd 범용필드 (병렬 팬아웃 충돌회피)
- db/schema.sql → db/schema.d/00-base.sql, compose가 schema.d 디렉터리 마운트 (모듈들이 db/schema.d/NN-<mod>.sql 로 disjoint 추가) - acq.fd에 범용 스크래치필드(T_ARG/T_STR/T_AMT/T_KEY/T_ID) → 모듈이 acq.fd 미수정 - setapp.sh gitignore 제외(필수 런타임 config) - 검증: 4서버 runok, 41서비스, 체인 커밋 유지 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
05a0ff3e56
commit
8219b85f14
6 changed files with 69 additions and 2 deletions
18
app/conf/setapp.sh
Executable file
18
app/conf/setapp.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
# Source this to get the full Enduro/X + ECPG/XA runtime environment.
|
||||
# Used by entrypoint.sh (to boot) and by the driver run (to tpcall).
|
||||
|
||||
export NDRX_APPHOME=/app
|
||||
export NDRX_CCONFIG=/app/conf/app.ini
|
||||
export PATH=/app/bin:/usr/local/bin:$PATH
|
||||
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
||||
|
||||
# --- ECPG XA resource manager (PostgreSQL), coordinated by tmsrv ---------------
|
||||
# The XA switch (libndrxxaecpg.so) opens the DB connection at tpopen(); there is
|
||||
# NO explicit EXEC SQL CONNECT anywhere. Host "db" is the compose service name.
|
||||
export NDRX_XA_RES_ID=1
|
||||
export NDRX_XA_DRIVERLIB=libndrxxaecpg.so
|
||||
export NDRX_XA_RMLIB=-
|
||||
export NDRX_XA_LAZY_INIT=1
|
||||
export NDRX_XA_OPEN_STR='{ "url":"tcp:postgresql://db/acq", "user":"acq", "password":"acq"}'
|
||||
export NDRX_XA_CLOSE_STR="$NDRX_XA_OPEN_STR"
|
||||
Loading…
Add table
Add a link
Reference in a new issue