Create option to hide WITH OIDS=FALSE, if OID is disabled - Mailing list pgadmin-hackers

From Robins Tharakan
Subject Create option to hide WITH OIDS=FALSE, if OID is disabled
Date
Msg-id CAEP4nAx6fP7e40BR-UVEBrAweErcb5r9r-wXq+pyeGfuvW2tMg@mail.gmail.com
Whole thread Raw
Responses Re: Create option to hide WITH OIDS=FALSE, if OID is disabled  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
Hi,

This is a ping to check if adding this minor feature is okay.

When the SQL is generated in the ObjectBrowser->SQLPane (for a table), it adds OIDS = FALSE, by default. I think that for a while, this has been irrelevant (unless of course the table actually has OIDs enabled).

Hope its okay to add a Check box in Options->Browser->UI Miscellaneous (Show if OIDS = FALSE) that allows a user to disable this part of the SQL. 

To confirm, 
- OIDS = TRUE would also show up, irrespective of the value of this check-box
- For now, the Check-Box would be enabled by default

Let me know if this isn't a great idea.

--
​​
Robins Tharakan

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: two dimensional statistics in Postgres
Next
From: Guillaume Lelarge
Date:
Subject: Re: Create option to hide WITH OIDS=FALSE, if OID is disabled