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

Postgres has a special thing I don't understand. #1

Open
Danack opened this issue Jun 3, 2022 · 1 comment
Open

Postgres has a special thing I don't understand. #1

Danack opened this issue Jun 3, 2022 · 1 comment

Comments

@Danack
Copy link

Danack commented Jun 3, 2022

Description

But this seems to be quite chaotic, reading
https://secure.php.net/manual/en/pdostatement.bindcolumn.php

"Since information about the columns is not always available to PDO
until the statement is executed, portable applications should call this
function after PDOStatement::execute().

However, to be able to bind a LOB column as a stream when using the
PgSQL driver, applications should call this method before calling
PDOStatement::execute(), otherwise the large object OID will be returned
as an integer."

@Danack
Copy link
Author

Danack commented Jun 3, 2022

Also:

Creating a LOB (Large Object) in PostgreSQL: PDO::pgsqlLOBCreate
Creating a function in SQLite: PDO::sqliteCreateFunction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant