# Postgres: psql:dump.sql:488868: ERROR: schema "discourse\_functions" does not exist

**URL:** https://meta.discourse.org/t/postgres-psql-dump-sql-error-schema-discourse-functions-does-not-exist/284414
**Category:** Self-hosting
**Created:** [November 4, 2023, 4:42pm UTC](https://meta.discourse.org/t/postgres-psql-dump-sql-error-schema-discourse-functions-does-not-exist/284414 "2023-11-04T16:42:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Thomas\_Rother](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_rother/32/423597_2.png) [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)
#### Post date: [November 4, 2023, 4:42pm UTC](https://meta.discourse.org/t/postgres-psql-dump-sql-error-schema-discourse-functions-does-not-exist/284414/1 "2023-11-04T16:42:44Z")

</div>

Hi,  
I am currently migrating a discourse instance from dockerized operation with separate web\_only and data containers to a setup where the database is hosted on a central database instance (in this case an lxc container from [https://www.proxmox.com](https://www.proxmox.com))

During the import of the dumped sql I noticed:

```plaintext
CREATE INDEX
CREATE INDEX
CREATE INDEX
psql:dump.sql:488868: ERROR: schema "discourse_functions" does not exist
psql:dump.sql:488876: ERROR: schema "discourse_functions" does not exist
psql:dump.sql:488884: ERROR: schema "discourse_functions" does not exist
ALTER TABLE
ALTER TABLE
ALTER TABLE

```

I assume this is “non-fatal” and just a “minor bug” which will not cause any problems?  
The postgres DB only has the standard public schema from postgres 13 …
