Search found 10 matches
- Wed Feb 16, 2005 2:59 pm
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
- Wed Feb 16, 2005 2:05 pm
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
- Wed Feb 16, 2005 1:52 pm
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
- Wed Feb 16, 2005 1:21 pm
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
You could also add:
to the PostgreSQL db.sql (for at least >= 8.0, but maybe 7.4 as well).
Code: Select all
SET default_with_oids = true;
- Wed Feb 16, 2005 1:02 pm
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
- Wed Feb 16, 2005 12:54 pm
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
But yes, we need OIDs for tables. We need to get the last inserted ID with some way. MySQL does this via a PHP mysql_insert_id() function, SQLite does it via PHP sqlite_last_insert_rowid() function.
Surely PostgreSQL supports something similar and I only don't know about it? In your case you will ...
- Wed Feb 16, 2005 12:17 pm
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
- Wed Feb 16, 2005 12:03 pm
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
- Wed Feb 16, 2005 11:56 am
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
- Wed Feb 16, 2005 1:31 am
- Forum: Bugs
- Topic: s9y_200502151337: Get error with Postgres on new entry
- Replies: 15
- Views: 15429
s9y_200502151337: Get error with Postgres on new entry
I'm a noobie, but like to help find bugs :)
Whenever I add a new entry, I get the following:
Warning: pg_query(): Query failed: ERROR: syntax error at end of input at character 46 in /home/ler/serendipity/include/db/postgres.inc.php on line 83
Warning: pg_num_rows(): supplied argument is not ...
Whenever I add a new entry, I get the following:
Warning: pg_query(): Query failed: ERROR: syntax error at end of input at character 46 in /home/ler/serendipity/include/db/postgres.inc.php on line 83
Warning: pg_num_rows(): supplied argument is not ...