Skip to content

Instantly share code, notes, and snippets.

@jbq
Created August 16, 2011 17:00
Show Gist options
  • Save jbq/1149543 to your computer and use it in GitHub Desktop.
Save jbq/1149543 to your computer and use it in GitHub Desktop.
Crash test on PG 9.0.4
CREATE LANGUAGE
psql:crashtest.sql:5: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "foo_pkey" for table "foo"
CREATE TABLE
CREATE FUNCTION
id | value
----+-------
1 | 2
(1 row)
ALTER TABLE
ALTER TABLE
UPDATE 1
psql:crashtest.sql:23: ERROR: key "........pg.dropped.2........" not found in mapping
HINT: To return null in a column, add the value None to the mapping with the key named after the column.
CONTEXT: while creating return value
PL/Python function "get_foo"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment