Scripting informations are stored in table grb_script. Here is sample output:
stars= SELECT * FROM grb_script; camera_name | grb_script_end | grb_script_script -------------+----------------+------------------- C5 | 600 | F 2 E 20 C5 | | F 2 E 60 F 4 E 60 C4 | 600 | E 30 C4 | | E 60 C6 | 600 | F 2 E 20 C6 | | F 2 E 60 F 4 E 60 C7 | 600 | F 2 E 20 C7 | | F 2 E 60 F 4 E 60
If you would like to modify this table, the easiest approach is to use pg-dump
user@host:~$ pg_dump -t grb_script stars > grb_script user@host:~$ editor grb_script
edit grb_script so it contains only lines similar to the example bellow:
COPY grb_script (camera_name, grb_script_end, grb_script_script) FROM stdin; C5 600 F 2 E 20 C5 \N F 2 E 60 F 4 E 60 C4 600 E 30 C4 \N E 60 C6 600 F 2 E 20 C6 \N F 2 E 60 F 4 E 60 C7 600 F 2 E 20 C7 \N F 2 E 60 F 4 E 60 \.
Please bear in mid that there MUST be tabulator between entries (after C5 and 600 in the example above). Edit those lines, particularly scripts, add new lines, and send the file back to psql
user@host:~$ psql stars < grb_script