Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Documentation for SQLite files

251 views
Skip to first unread message

Andre Majorel

unread,
Apr 22, 2012, 12:40:48 PM4/22/12
to support...@lists.mozilla.org
Where is the structure of the SQLite files that Firefox uses
documented ? Specifically, I'm looking for the values of the
"permission" column in the moz_hosts table in the
permissions.sqlite file for Firefox 3.5.19.

Thanks in advance.

--
André Majorel http://www.teaser.fr/~amajorel/

Mihamina Rakotomandimby

unread,
Apr 22, 2012, 12:48:19 PM4/22/12
to support...@lists.mozilla.org
On 04/22/2012 07:40 PM, Andre Majorel wrote:
> I'm looking for the values of the
> "permission" column in the moz_hosts table in the
> permissions.sqlite file for Firefox 3.5.19.

The SQLite file format (this is not what you look for):
http://sqlite.org/fileformat2.html
But see the "Querying the database schema" chapter in
http://www.sqlite.org/sqlite.html
You would have found it but searching 5 minutes.

--
RMA.

Jeremy Nicoll - ml mozilla support-firefox

unread,
Apr 22, 2012, 1:08:54 PM4/22/12
to support...@lists.mozilla.org
I think he wants to know what values FF writes to particular fields in the
db. I should think that needs a FF developer to answer; it's not an SQLite
question.

--
Jeremy Nicoll - my opinions are my own.

Andre Majorel

unread,
Apr 22, 2012, 1:23:45 PM4/22/12
to support...@lists.mozilla.org
On 2012-04-22 18:08 +0100, Jeremy Nicoll - ml mozilla support-firefox wrote:

> I think he wants to know what values FF writes to particular
> fields in the db. I should think that needs a FF developer to
> answer; it's not an SQLite question.

Spot on.

Fox on the run

unread,
May 1, 2012, 12:59:38 PM5/1/12
to Firefox help community
Here's what I have on it:

If type is popup, a value of 1 under permission means to allow popups for whatever host is listed for that entry.

If type is cookie, permission will have 1=allow, 2=block, 8=for session only, again for the host listed for that entry.

If type is install, 1=allow the install up updates.

If type is image, 1=allow images, 2=block

JB

Fox on the run

unread,
May 1, 2012, 12:59:38 PM5/1/12
to mozilla.sup...@googlegroups.com, Firefox help community
On Sunday, April 22, 2012 2:10:48 PM UTC-2:30, Andre Majorel wrote:
0 new messages