node-postgres
node.js용 PostgreSQL 클라이언트.
파일 탐색기
최종 버전 다운로드 (.zip)- devcontainer.json
- docker-compose.yml
- Dockerfile
- ci.yml
- CODEOWNERS
- dependabot.yaml
- FUNDING.yml
- alert.tsx
- info.tsx
- logo.tsx
- _meta.js
- client.mdx
- cursor.mdx
- pool.mdx
- result.mdx
- types.mdx
- utilities.mdx
- _meta.js
- callbacks.mdx
- connecting.mdx
- esm.mdx
- native.mdx
- pipelining.mdx
- pooling.mdx
- queries.mdx
- ssl.mdx
- transactions.mdx
- types.mdx
- _meta.js
- async-express.md
- pool-sizing.md
- project-structure.md
- upgrading.md
- _app.js
- _meta.js
- announcements.mdx
- index.mdx
- favicon.ico
- .gitignore
- next.config.js
- package.json
- README.md
- theme.config.js
- yarn.lock
- index.mjs
- cert-signatures.js
- sasl.js
- utils.js
- client.js
- index.js
- query.js
- client.js
- connection-parameters.js
- connection.js
- defaults.js
- index.js
- query.js
- result.js
- stream.js
- type-overrides.js
- utils.js
- dump-db-types.js
- vitest-cf.test.ts
- api-tests.js
- appname-tests.js
- array-tests.js
- async-stack-trace-tests.js
- big-simple-query-tests.js
- configuration-tests.js
- connection-parameter-tests.js
- connection-timeout-tests.js
- custom-types-tests.js
- empty-query-tests.js
- error-handling-tests.js
- field-name-escape-tests.js
- huge-numeric-tests.js
- idle_in_transaction_session_timeout-tests.js
- json-type-parsing-tests.js
- multiple-results-tests.js
- network-partition-tests.js
- no-data-tests.js
- no-row-result-tests.js
- notice-tests.js
- parse-int-8-tests.js
- pipeline-portal-tests.js
- pipelining-tests.js
- prepared-statement-tests.js
- promise-api-tests.js
- query-as-promise-tests.js
- query-column-names-tests.js
- query-error-handling-prepared-statement-tests.js
- query-error-handling-tests.js
- quick-disconnect-tests.js
- result-metadata-tests.js
- results-as-array-tests.js
- row-description-on-results-tests.js
- sasl-scram-tests.js
- simple-query-tests.js
- ssl-tests.js
- statement_timeout-tests.js
- test-helper.js
- timezone-tests.js
- transaction-tests.js
- txstatus-tests.js
- type-coercion-tests.js
- type-parser-override-tests.js
- connection-pool-size-tests.js
- error-tests.js
- idle-timeout-tests.js
- native-instance-tests.js
- test-helper.js
- tls-tests.js
- yield-support-tests.js
- 1105-tests.js
- 130-tests.js
- 131-tests.js
- 1382-tests.js
- 1542-tests.js
- 1854-tests.js
- 199-tests.js
- 1992-tests.js
- 2056-tests.js
- 2064-tests.js
- 2079-tests.js
- 2085-tests.js
- 2108-tests.js
- 2303-tests.js
- 2307-tests.js
- 2416-tests.js
- 2556-tests.js
- 2627-tests.js
- 2716-tests.js
- 2862-tests.js
- 3062-tests.js
- 3174-tests.js
- 3487-tests.js
- 507-tests.js
- 600-tests.js
- 675-tests.js
- 699-tests.js
- 787-tests.js
- 882-tests.js
- 981-tests.js
- domain-tests.js
- test-helper.js
- callback-api-tests.js
- evented-api-tests.js
- native-connection-string-tests.js
- native-vs-js-error-tests.js
- stress-tests.js
- GNUmakefile
- test-client-ca.crt
- test-client-ca.key
- test-client.crt
- test-client.key
- test-server-ca.crt
- test-server-ca.key
- test-server.crt
- test-server.key
- cleartext-password-tests.js
- configuration-tests.js
- early-disconnect-tests.js
- escape-tests.js
- md5-password-tests.js
- notification-tests.js
- password-callback-tests.js
- pgpass.file
- prepared-statement-tests.js
- query-queue-tests.js
- query-timeout-tests.js
- result-metadata-tests.js
- sasl-scram-tests.js
- set-keepalives-tests.js
- simple-query-tests.js
- stream-and-query-error-interaction-tests.js
- test-helper.js
- throw-in-bind-tests.js
- throw-in-type-parser-tests.js
- error-tests.js
- startup-tests.js
- test-helper.js
- creation-tests.js
- environment-variable-tests.js
- configuration-tests.js
- result-tests.js
- test-helper.js
- utils-tests.js
- buffer-list.js
- suite.js
- test-buffers.js
- test-helper.js
- vitest.config.mts
- wrangler.jsonc
- bench-pipelining.js
- bench.js
- Makefile
- package.json
- README.md
- index.mjs
- esbuild-cloudflare.config.mjs
- esbuild-empty.config.mjs
- package.json
- rollup-cloudflare.config.mjs
- rollup-empty.config.mjs
- vite-cloudflare.config.mjs
- vite-empty.config.mjs
- webpack-cloudflare.config.mjs
- webpack-empty.config.mjs
- index.mjs
- empty.ts
- index.ts
- types.d.ts
- package.json
- README.md
- tsconfig.json
- index.mjs
- clientConfig.ts
- example.ca
- example.cert
- example.key
- parse.ts
- .coveralls.yml
- .gitignore
- .mocharc.json
- index.d.ts
- index.js
- LICENSE
- package.json
- README.md
- tsconfig.json
- index.mjs
- close.js
- error-handling.js
- index.js
- mocha.opts
- no-data-handling.js
- pool.js
- promises.js
- query-config.js
- transactions.js
- index.js
- package.json
- README.md
- common-js-imports.test.cjs
- package.json
- pg-cloudflare.test.js
- pg-connection-string.test.js
- pg-cursor.test.js
- pg-native.test.js
- pg-pool.test.js
- pg-protocol.test.js
- pg-query-stream.test.js
- pg.test.js
- README.md
- index.js
- leaks.js
- index.mjs
- build-result.js
- copy-stream.js
- array-mode.js
- async-workflow.js
- cancel.js
- connection-errors.js
- connection.js
- copy-from.js
- copy-to.js
- custom-types.js
- domains.js
- empty-query.js
- huge-query.js
- index.js
- load.js
- many-connections.js
- many-errors.js
- mocha.opts
- multiple-queries.js
- multiple-statement-results.js
- notify.js
- pipeline-connection-loss.js
- prepare.js
- query-async.js
- query-sync.js
- version.js
- index.js
- package.json
- README.md
- index.mjs
- connection-strings.js
- connection-timeout.js
- ending.js
- error-handling.js
- events.js
- idle-timeout-exit.js
- idle-timeout.js
- index.js
- lifecycle-hooks.js
- lifetime-timeout.js
- logging.js
- max-uses.js
- releasing-clients.js
- setup.js
- sizing.js
- submittable.js
- verify.js
- index.js
- LICENSE
- package.json
- README.md
- index.js
- buffer-list.ts
- test-buffers.ts
- b.ts
- buffer-reader.ts
- buffer-writer.ts
- inbound-parser.test.ts
- index.ts
- messages.ts
- outbound-serializer.test.ts
- parser.ts
- serializer.ts
- package.json
- README.md
- tsconfig.json
- index.mjs
- index.ts
- async-iterator.ts
- client-options.ts
- close.ts
- concat.ts
- config.ts
- empty-query.ts
- error.ts
- fast-reader.ts
- helper.ts
- instant.ts
- issue-3.ts
- passing-options.ts
- pauses.ts
- pool.ts
- slow-reader.ts
- stream-tester-timestamp.ts
- stream-tester.ts
- LICENSE
- package.json
- README.md
- tsconfig.json
- .gitattributes
- .gitignore
- .yarnrc
- CHANGELOG.md
- eslint.config.mjs
- lerna.json
- LICENSE
- LOCAL_DEV.md
- package.json
- README.md
- SPONSORS.md
- tea.yaml
- tsconfig.json
- yarn.lock
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/brianc/node-postgres
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd node-postgres
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm install pg
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd packages/pg
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
