Skip to content

Request to replace the not null constraint on column created in net._http_response with a check constraint and make it not inheritable #227

Description

@diraneyya

This is not a bug but a code-design proposal

I am building a scraper extension on top of pg_net and identified that you can do some really nifty things when you inherit from net._http_response and install triggers to re-route the response to other dedicated scraper buffer tables.

This is made possible with your very flexible design where the net._http_response has on primary key and is intentionally kept quite raw. I like this a lot.

To support my work (and others building on top of pg_net), I am proposing either to remove the not null constraint on the created column altogether or replace it with a check constraint that is not inheritable.

I would like to know how you feel about this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions