You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a simple script for reproducing the error.
<?php
use Swoole\Coroutine\PostgreSQL;
use function Swoole\Coroutine\run;
run(function () {
$pg = new PostgreSQL();
$conn = $pg->connect("host=127.0.0.1 port=5432 dbname=test user=root password=");
// Super long, such as 1000 lines,once inserted
$result = $pg->query("insert into table(\"id\"......) value(........)");
$arr = $pg->fetchAll($result);
var_dump($arr);
});
What did you expect to see?
What did you see instead?
What version of Swoole are you using (show your php --ri swoole)?
swoole
Swoole => enabled
Author => Swoole Team [email protected]
Version => 4.7.1-dev
swoole_postgresql
Swoole PostgreSQL => enabled
Author => Swoole Team [email protected]
Version => 4.7.1-dev
Built => Aug 13 2021 19:34:18
trace_log => enabled
What is your machine environment used (show your uname -a & php -v & gcc -v) ?
Linux .qcd.ak.lan 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
PHP 7.2.34 (cli) (built: Aug 13 2021 15:40:51) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What did you expect to see?
What did you see instead?
What version of Swoole are you using (show your
php --ri swoole
)?swoole
Swoole => enabled
Author => Swoole Team [email protected]
Version => 4.7.1-dev
swoole_postgresql
Swoole PostgreSQL => enabled
Author => Swoole Team [email protected]
Version => 4.7.1-dev
Built => Aug 13 2021 19:34:18
trace_log => enabled
uname -a
&php -v
&gcc -v
) ?Linux .qcd.ak.lan 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
PHP 7.2.34 (cli) (built: Aug 13 2021 15:40:51) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
The text was updated successfully, but these errors were encountered: