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

Implement PostgreSQL database driver #2

Closed
samdark opened this issue Mar 24, 2013 · 7 comments
Closed

Implement PostgreSQL database driver #2

samdark opened this issue Mar 24, 2013 · 7 comments

Comments

@samdark
Copy link
Member

samdark commented Mar 24, 2013

No description provided.

@qiangxue
Copy link
Member

qiangxue commented May 9, 2013

Enhancement requirement #205.

@Ragazzo
Copy link
Contributor

Ragazzo commented May 9, 2013

Yes, would be useful, because now (in Yii1) need to copy all CPgsqlSchema to new file. Also looks like same issue exists for CMssqlSchema (https://github.com/yiisoft/yii/blob/master/framework/db/schema/mssql/CMssqlSchema.php#L21), not using mssql just pointing if it can be the same.

@gevik
Copy link
Contributor

gevik commented May 25, 2013

Is anyone working on this? If not, then I would like to develop the PostgreSQL driver module.

@qiangxue
Copy link
Member

Cool! I will label this as "under development". Thanks!

@gevik
Copy link
Contributor

gevik commented May 25, 2013

There is a lot of good code regarding the pgsql driver in Yii1. I will consult and try to port as much as possible. Also I will take the requirements above into account.

@gevik
Copy link
Contributor

gevik commented May 28, 2013

Please follow the progress at: https://github.com/gevik/yii2/commits/pgsql-driver

@qiangxue
Copy link
Member

qiangxue commented Jun 7, 2013

Closed by #505

@qiangxue qiangxue closed this as completed Jun 7, 2013
samdark pushed a commit that referenced this issue Oct 18, 2013
@rawtaz rawtaz mentioned this issue Oct 25, 2013
pmoust added a commit to pmoust/yii2-dev that referenced this issue Nov 27, 2013
qiangxue pushed a commit that referenced this issue May 24, 2014
indrig added a commit to indrig/yii2 that referenced this issue Dec 27, 2019
Fix for PHP 7.4

Trying to access array offset on value of type null
When $model is null on Php 7.4:
if (($value = $model[$attribute]) !== null)

/var/www/builds/cms/3.6.0/vendor/yiisoft/yii2/db/ActiveRelationTrait.php line 526

#0 /var/www/builds/cms/3.6.0/vendor/yiisoft/yii2/db/ActiveRelationTrait.php(526): yii\base\ErrorHandler->handleError()
yiisoft#1 /var/www/builds/cms/3.6.0/vendor/yiisoft/yii2/db/ActiveRelationTrait.php(246): yii\db\ActiveQuery->filterByModels()
yiisoft#2 /var/www/builds/cms/3.6.0/vendor/yiisoft/yii2/db/ActiveQueryTrait.php(151): yii\db\ActiveQuery->populateRelation()
yiisoft#3 /var/www/builds/cms/3.6.0/vendor/yiisoft/yii2/db/ActiveQuery.php(224): yii\db\ActiveQuery->findWith()
@sasha-b-a sasha-b-a mentioned this issue Dec 29, 2021
samdark pushed a commit that referenced this issue Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants