Skip to content

When FIREBASE_DATACONNECT_POSTGRESQL_STRING= used do not fail database export on --export-on-exit #9330

@portah

Description

@portah

[REQUIRED] Environment info

MacOS 15.6.1
Firebase-tools 14.19.1
Local PostgreSQL server
FIREBASE_DATACONNECT_POSTGRESQL_STRING=postgres://localhost:5432/postgres?sslmode=disable

[REQUIRED] Test case

start emulators:
firebase emulators:start --project=project --import=./.firebase-export-local --export-on-exit --only auth,functions,dataconnect
press ctr^c to kill
emulators can't backup postgres so they do not finish export

[REQUIRED] Steps to reproduce

start emulators:
firebase emulators:start --project=project --import=./.firebase-export-local --export-on-exit --only auth,functions,dataconnect
press ctr^c to kill
emulators can't backup postgres so they do not finish export

[REQUIRED] Expected behavior

Ignore PostgreSQL export

[REQUIRED] Actual behavior

fails to export other data into provided directory. saves into temporary

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions