Skip to content

Commit

Permalink
Add bindings for 'tcop/pquery.h' and 'commands/copy.h' header files (#…
Browse files Browse the repository at this point in the history
…1786)

PR lets us access `PortalStart` and `PortalRun` from `tcop/pquery.h` and
`BeginCopyFrom`, `CopyFrom`, and `EndCopyFrom` from `commands/copy.h`.
They are useful during defining custom `DestReceiver`s and hooking into
`COPY FROM`.
  • Loading branch information
aykut-bozkurt authored Jul 23, 2024
1 parent cb6f5a9 commit 7098166
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pgrx-pg-sys/include/pg12.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
#include "catalog/pg_user_mapping.h"
#include "catalog/storage.h"
#include "commands/comment.h"
#include "commands/copy.h"
#include "commands/dbcommands.h"
#include "commands/defrem.h"
#include "commands/event_trigger.h"
Expand Down Expand Up @@ -139,6 +140,7 @@
#include "storage/smgr.h"
#include "storage/spin.h"
#include "storage/sync.h"
#include "tcop/pquery.h"
#include "tcop/tcopprot.h"
#include "tcop/utility.h"
#include "tsearch/ts_public.h"
Expand Down
2 changes: 2 additions & 0 deletions pgrx-pg-sys/include/pg13.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
#include "catalog/pg_user_mapping.h"
#include "catalog/storage.h"
#include "commands/comment.h"
#include "commands/copy.h"
#include "commands/dbcommands.h"
#include "commands/defrem.h"
#include "commands/event_trigger.h"
Expand Down Expand Up @@ -139,6 +140,7 @@
#include "storage/smgr.h"
#include "storage/spin.h"
#include "storage/sync.h"
#include "tcop/pquery.h"
#include "tcop/tcopprot.h"
#include "tcop/utility.h"
#include "tsearch/ts_public.h"
Expand Down
2 changes: 2 additions & 0 deletions pgrx-pg-sys/include/pg14.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
#include "catalog/pg_user_mapping.h"
#include "catalog/storage.h"
#include "commands/comment.h"
#include "commands/copy.h"
#include "commands/dbcommands.h"
#include "commands/defrem.h"
#include "commands/event_trigger.h"
Expand Down Expand Up @@ -140,6 +141,7 @@
#include "storage/smgr.h"
#include "storage/spin.h"
#include "storage/sync.h"
#include "tcop/pquery.h"
#include "tcop/tcopprot.h"
#include "tcop/utility.h"
#include "tsearch/ts_public.h"
Expand Down
2 changes: 2 additions & 0 deletions pgrx-pg-sys/include/pg15.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
#include "catalog/pg_user_mapping.h"
#include "catalog/storage.h"
#include "commands/comment.h"
#include "commands/copy.h"
#include "commands/dbcommands.h"
#include "commands/defrem.h"
#include "commands/event_trigger.h"
Expand Down Expand Up @@ -141,6 +142,7 @@
#include "storage/smgr.h"
#include "storage/spin.h"
#include "storage/sync.h"
#include "tcop/pquery.h"
#include "tcop/tcopprot.h"
#include "tcop/utility.h"
#include "tsearch/ts_public.h"
Expand Down
2 changes: 2 additions & 0 deletions pgrx-pg-sys/include/pg16.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
#include "catalog/pg_user_mapping.h"
#include "catalog/storage.h"
#include "commands/comment.h"
#include "commands/copy.h"
#include "commands/dbcommands.h"
#include "commands/defrem.h"
#include "commands/event_trigger.h"
Expand Down Expand Up @@ -143,6 +144,7 @@
#include "storage/smgr.h"
#include "storage/spin.h"
#include "storage/sync.h"
#include "tcop/pquery.h"
#include "tcop/tcopprot.h"
#include "tcop/utility.h"
#include "tsearch/ts_public.h"
Expand Down

0 comments on commit 7098166

Please sign in to comment.