Skip to content

Commit

Permalink
include commands/prepare.h (#1873)
Browse files Browse the repository at this point in the history
  • Loading branch information
kysshsy authored Sep 23, 2024
1 parent db017a0 commit e85bcc7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions pgrx-pg-sys/include/pg12.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#include "commands/defrem.h"
#include "commands/event_trigger.h"
#include "commands/explain.h"
#include "commands/prepare.h"
#include "commands/proclang.h"
#include "commands/seclabel.h"
#include "commands/tablespace.h"
Expand Down
1 change: 1 addition & 0 deletions pgrx-pg-sys/include/pg13.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#include "commands/defrem.h"
#include "commands/event_trigger.h"
#include "commands/explain.h"
#include "commands/prepare.h"
#include "commands/proclang.h"
#include "commands/seclabel.h"
#include "commands/tablespace.h"
Expand Down
1 change: 1 addition & 0 deletions pgrx-pg-sys/include/pg14.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#include "commands/defrem.h"
#include "commands/event_trigger.h"
#include "commands/explain.h"
#include "commands/prepare.h"
#include "commands/proclang.h"
#include "commands/seclabel.h"
#include "commands/tablespace.h"
Expand Down
1 change: 1 addition & 0 deletions pgrx-pg-sys/include/pg15.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
#include "commands/defrem.h"
#include "commands/event_trigger.h"
#include "commands/explain.h"
#include "commands/prepare.h"
#include "commands/proclang.h"
#include "commands/seclabel.h"
#include "commands/tablespace.h"
Expand Down
1 change: 1 addition & 0 deletions pgrx-pg-sys/include/pg16.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
#include "commands/defrem.h"
#include "commands/event_trigger.h"
#include "commands/explain.h"
#include "commands/prepare.h"
#include "commands/proclang.h"
#include "commands/seclabel.h"
#include "commands/tablespace.h"
Expand Down
1 change: 1 addition & 0 deletions pgrx-pg-sys/include/pg17.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
#include "commands/defrem.h"
#include "commands/event_trigger.h"
#include "commands/explain.h"
#include "commands/prepare.h"
#include "commands/proclang.h"
#include "commands/seclabel.h"
#include "commands/tablespace.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ error: lifetime may not live long enough
8 | let prepared = { Spi::connect(|c| c.prepare(q, None))? };
| -- ^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
| ||
| |return type of closure is std::result::Result<PreparedStatement<'2>, pgrx::spi::SpiError>
| |return type of closure is std::result::Result<pgrx::spi::PreparedStatement<'2>, pgrx::spi::SpiError>
| has type `SpiClient<'1>`

0 comments on commit e85bcc7

Please sign in to comment.