I want to call this function in the underlying pg driver:
pg-0.9.0/ext/pg.c
2359:pgconn_set_notice_receiver(VALUE self)
How do I get down to it from a top level DM repository object? I tried
to trace down in through dm-postgres-adapter but got lost :S
(evil instance_eval { @instance_var } tricks are fine for now)
My real problem is I'm getting a heap of noise from the database_cleaner
gem with PG9:
NOTICE: truncate cascades to table "X"
I want to set my own notice receiver function to filter them out (the
default one just prints to stderr)
Cheers,
Xavier
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en.