Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for creating unlogged PostgreSQL tables #6044

Closed
f-lombardo opened this issue May 22, 2023 · 1 comment
Closed

Add support for creating unlogged PostgreSQL tables #6044

f-lombardo opened this issue May 22, 2023 · 1 comment

Comments

@f-lombardo
Copy link
Contributor

Feature Request

Q A
New Feature yes
RFC yes

Summary

Add support for creating unlogged PostgreSQL tables:
https://www.postgresql.org/docs/current/sql-createtable.html

I'd suggest to add a boolean unlogged option to default_table_options doctrine configuration
https://www.doctrine-project.org/projects/doctrine-bundle/en/latest/configuration.html
For example:

doctrine:
    dbal:
        default_table_options:
            unlogged: true

This option could be handled in PostgreSQLPlatform::_getCreateTableSQL

derrabus added a commit that referenced this issue Jun 7, 2023
|      Q       |   A
|------------- | -----------
| Type         | bug/feature/improvement
| Feature | see #6044

#### Summary

Add support for creating unlogged PostgreSQL tables:
https://www.postgresql.org/docs/current/sql-createtable.html

I added a boolean `unlogged` option to `default_table_options` doctrine
configuration

https://www.doctrine-project.org/projects/doctrine-bundle/en/latest/configuration.html
For example:

```yaml
doctrine:
    dbal:
        default_table_options:
            unlogged: true
```

---------

Co-authored-by: Alexander M. Turek <me@derrabus.de>
@derrabus derrabus closed this as completed Jun 7, 2023
f-lombardo added a commit to f-lombardo/dbal that referenced this issue Jun 16, 2023
@github-actions
Copy link

github-actions bot commented Jul 8, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants