# \#postgresql

**URL:** https://forum.liquibase.org/tag/postgresql/5.md

[Latest](https://forum.liquibase.org/latest.md) · [Categories](https://forum.liquibase.org/categories.md) · [Tags](https://forum.liquibase.org/tags.md)

---

## [Error with Node liquibase initialization](https://forum.liquibase.org/t/error-with-node-liquibase-initialization/7419)

<div class="topic-metadata">

**Author:** [@louieg](https://forum.liquibase.org/u/louieg)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 6:17am UTC](https://forum.liquibase.org/t/error-with-node-liquibase-initialization/7419 "2022-11-08T06:17:38Z")

</div>

I am on Node JS and doing the following: const Liquibase = require('liquibase').Liquibase; const POSTGRESQL\_DEFAULT\_CONFIG = require('liquibase').POSTGRESQL\_DEFAULT\_CONFIG; const myConfig = { ...POSTGRESQL\_DEFAULT\_CON…

---

## [Liquibase, Postgres and "autoIncrement"](https://forum.liquibase.org/t/liquibase-postgres-and-autoincrement/4860)

<div class="topic-metadata">

**Author:** [@truls](https://forum.liquibase.org/u/truls)\
**Replies:** 2\
**Last updated:** [December 1, 2020, 6:35am UTC](https://forum.liquibase.org/t/liquibase-postgres-and-autoincrement/4860 "2020-12-01T06:35:55Z")

</div>

When using a current Postgres (or Oracle) version with Liquibase, the “autoIncrement” attribute for a column is translated to a generated by default as identity. Is there a way to configure Liquibase to use generated AL…

---

## [Liquibase diff command always drops foreign keys](https://forum.liquibase.org/t/liquibase-diff-command-always-drops-foreign-keys/4827)

<div class="topic-metadata">

**Author:** [@nurlan](https://forum.liquibase.org/u/nurlan)\
**Replies:** 4\
**Last updated:** [December 1, 2020, 12:27am UTC](https://forum.liquibase.org/t/liquibase-diff-command-always-drops-foreign-keys/4827 "2020-12-01T00:27:27Z")

</div>

When I use mvn liquibase:diff command with spring boot it generates change log with dropping all foreign keys. I’m using this versions: org.liquibase liquibase-core 3.9.0 org.liquibase.ext liquibase-hibernate…

---

## [Liquibase Context optional attribute](https://forum.liquibase.org/t/liquibase-context-optional-attribute/4646)

<div class="topic-metadata">

**Author:** [@hope99](https://forum.liquibase.org/u/hope99)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 2:43pm UTC](https://forum.liquibase.org/t/liquibase-context-optional-attribute/4646 "2020-10-14T14:43:36Z")

</div>

I am using the context field as below in changeset file 001\_create\_tables.sql –liquibase formatted sql –changeset testuser:001\_REF\_TABLES\_ver\_1\_0 (runInTransaction:true runonChange:false splitStatements:false endDelimi…
