Displaying 2 results from an estimated 2 matches for "nule".
Did you mean:
null
2006 May 03
4
default values
...I''m working with a postgresql table
CREATE TABLE elements (
id serial primary key,
c1 text default f1(),
...
cN text default fN()
);
But if I use de lines
@element = Element.new
@element.save
the values that element take are the nextval in the id field and nules in
all the other fields.
How can I get the defaults?
(but without rewriting the funcitions f1,...,fN in the rails aplication,
of course)
Thaks
--
Daniel H
2013 Mar 18
27
corruption of active mmapped files in btrfs snapshots
...harder to
tell for sure.
The stream of NULs ended in the middle of a database block (meaning it
was not the beginning of a subsequent database block written later; the
beginning of the database block was partially replaced with NULs).
Furthermore, the checksum fails to match on this one partially-NULed
block. Since the checksum is computed just before the block and the
checksum trailer are memcpy()ed to the mmap()ed area, it is a certainty
that the block was copied entirely to the right place at some point, and
if part of it became zeros, it''s either because the modification was
partia...