2025-02-20 1. 방법 Xcode => Runner => Build Settings and put "Allow Non-modular Includes In Framework Modules" to "yes" Xcode 상의 위의 위치로 이동해 아래 설정값을 Yes 로 바꿔주면 해결 된다. 메인 이미지 출처 : 사진: Unsplash의Josh Hild
2025-02-171. 방법 //기본키 설정된 시퀀스 명확인SELECT pg_get_serial_sequence('test_schema.tb_test', 'test_id');//시퀀스 현재 테이블에서 사용중인 맥스값으로 변경SELECT setval( 'test_schema.tb_test_test_id_seq', (SELECT COALESCE(MAX(test_id), 1) FROM test_schema.tb_test));// 시퀀스 맥스값 확인SELECT last_value FROM test_schema.tb_test_test_id_seq;메인 이미지 출처 : 사진: Unsplash의Vadim Sadovski
2025-02-101. 확장 프로그램 설치 -- 15버전일 경우 아래 다른 버전일 경우 해당 숫자만 변경yum install postgresql15-contrib2. earth_distance 확장 # earth_distance 관련 라이브러리를 사용해야 하는 DB -> 스키마로 이동한 이후에 아래 명령어 사용 create extension if not exists cube;create extension if not exists earthdistance;메인 이미지 출처 : 사진: Unsplash의Daniel Boberg
2024-12-23 1. 명령어 S3 폴더의 하위 객체들의 메타데이터를 한 번에 수정하려면 --recursive 옵션을 사용하여 cp 명령어로 전체 폴더를 처리할 수 있습니다. 새 메타데이터를 적용하려면 --metadata-directive REPLACE를 설정해야 하며, 변경하려는 메타데이터와 함께 명령어를 실행하면 됩니다. aws s3 cp s3://test/images/imagesub/data/ s3://test/images/imagesub/data/ \ --recursive \ --metadata-directive REPLACE \ --cache-control "max-age=31536000, must-revalidate" \ --content-type "image/png" ..
2024-12-11 테이블 생성 CREATE TABLE t ( c1 bigint, c2 int8 );여기서 c1은 BIGINT로 정의되고, c2는 INT8로 정의됩니다.이 두 타입은 동일한 데이터 타입을 참조하기 때문에 PostgreSQL은 둘을 같은 것으로 처리합니다.속성 조회 SELECT a.attname, t.typname FROM pg_class AS c JOIN pg_attribute AS a ON a.attrelid = c.oid JOIN pg_type AS t ON a.atttypid = t.oid WHERE c.relname = 't' AND a.attname IN ('c1', 'c2') ORDER BY 1; 이 쿼리는 테이블 t의 각 컬럼 이름(attname)과 데이터 타입 이름(typn..
2024-11-211. 방법 Window > Organizer > Products > Archives 참고 링크 https://stackoverflow.com/questions/7377162/xcode-but-where-are-our-archives Xcode - But... Where are our archives?I've submitted three versions of my app onto the App Store using the Build and Archive commands. But... Where are those archives? I've just learnt that I just need them to be able to read crashl...stackoverflow.com 메인 이미..